Compiling on the fly
Posted on 2011-02-17
I am about to write my first T4 template which creates C# code. I wonder about being able to recompile objects on the fly.
XAML is interpreted, so my running Silverlight application could generate new XAML files and use them immediately. True?
C# is compiled, so if I generated a new C# object, it's of no use until it's compiled. Does Microsoft have a command line C# compiler that's okay to distribute freely with an application? (I would not want my users to need to install Visual Studio Express to use my program:)