© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
34 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ xaml
C#CC# / help
9mo ago
❔ XAML
C#CC# / help
3y ago
Color brush from App.xaml
C#CC# / help
4y ago
❔ Removing items from a XAML window
C#CC# / help
4y ago