tigey
❔ Compiling XAML + CSharp from commandline
Lets say I have a need to compile specific code files into an assembly. I have a mechanism through CSC.exe to do this, I can feed it an array of .cs files and provided they are cromulent, they will compile into an assembly. I now want to compile XAML (WPF) and C# into an assembly in the same way. The CSC.exe compiler does not do XAML (please correct me if this is wrong). Without using MSBuild, is there a method by which I can compile say a single Window.xaml and Window.xaml.cs into an assembly at the command line?
35 replies