Hi! There is a class for doing this: Microsoft.CSharp.Compiler.Compile() look at msdn or in the Microsofct Documentation for details. I'm not sure if this has been implemented in mono, but it much better, than invoking mcs or csc directly. If not, it's worth implementing. I guess it's also used by ASP.NET.