Compiling .NET code in .NET 4?
I remember when .NET 4 was in beta there was a video of a developer that made a command-line app that he could type C# code into and it would compile the code on the fly. The idea was that the compiler was now available in the .NET language. Anyone recall where this is? I need to create an application with a small macro language and I would love to use C# as that macro language, but I don't know where to find this library.. You can use the CSharpCodeProvider class to compile assemblies at runtime. You'll need to make a boilerplate template to wrap the macro commands in a static method in a