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,