Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

how to compile XAML using CodeDom ?

$
0
0

How do I use CSharpCodeProvider to compile a XAML file into a .g.i.cs file?  I want to use CSharpCodeProvider to create an EXE file from the C# code of a WPF window class.

I have been reading the related threads on using CodeDom to compile a XAML file. But I am confused by the replies. Do I need to use Microsoft.Build.Engine in place of CSharpCodeProvider?

thanks,


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>