Microsoft.CSharp.CSharpCodeProvider p = new CSharpCodeProvider();
ICodeCompiler compiler = p.CreateCompiler();
CompilerParameters options = new CompilerParameters(new string[] {"mscorlib.dll", "System.dll"}, myOutputAssemblyPath, true);
CompilerResults res = compiler.CompileAssemblyFromFileBatch(options, fileNames);
CompilerErrorCollection errors = res.Errors;
Assembly a = res.CompiledAssembly;
"pnp" <pnp.@.softlab.ntua.gr> wrote in message news:O4**************@TK2MSFTNGP10.phx.gbl...
Is there a way to make a simple compiler that builds cs projects in a
solution?
thanks in advance,
peter