Category : csc

I create some method(this is only test method, to isolate problem from very very big system): private void CompileHalloWorld() { System.Threading.Thread.Sleep((30000)); if (!Directory.Exists(_workingDir)) { Directory.CreateDirectory(_workingDir); } Directory.SetCurrentDirectory(_workingDir); var csc = new CSharpCodeProvider(new Dictionary<string, string>() { { "CompilerVersion", "v4.0" } }); var parameters = new CompilerParameters(new[] { "mscorlib.dll", "System.Core.dll" }, "foo.exe", true); parameters.GenerateExecutable = true; CompilerResults ..

Read more