Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - WPF markup compilation pass

 
 
Old 03-16-2008   #1 (permalink)
IndyStef


 
 

WPF markup compilation pass

I am trying to manually control the two markup passes in msbuild for
WPF applications. We'd like to use WPF for upcoming applications, but
our build system does not allow msbuild for compilation and linking.
As a solution I'd like to start the two markup compilation tasks in
msbuild manually, with a temporary C# compilation in between. I have
had some luck starting these tasks with the /t:MarkupCompilePass1 and /
t:MarkupCompilePass2, respectively (and a few other, preparatory
tasks). Between them I compile the code with csc. However, the
second markup pass does not generate the BAML.
When I instead use a stripped down project file (XAML files only), and
run msbuild on that project (once before, and once after the temp.
compilation), things work. That's somewhat messy, though.
Does anybody have an idea how I could control the two markup compile
passes with command line parameters?
Thanks,

IndyStef

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Myst Compilation Set Vista Games
Compilation Error .NET General
dvd compilation won't play on vista's MCE Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46