Search This Blog

Thursday, June 7, 2012

Compile a .cs file which is located in different folder of the disk from another .cs program


ProcessStartInfo info = new ProcessStartInfo(@"C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe");
info.Arguments = @" /out:C:\ss\Class1.dll C:\ss\Class1.cs";
info.UseShellExecute = false;
Process.Start(info);

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

hop – Install Linux Alongside Windows Without a USB Drive Open-source · MIT License Windows 10 / 11

OPEN SOURCE MIT LICENSE WINDOWS 10 / 11 hop – Install Linux Alongside Windows Without a USB Drive What if y...