This is part of Roslyn, the new open source .NET compiler platform.
On the CodePlex page:
Creating command line compilers
Note that in most situations, compilers will NOT be called through csc and vbc for performance reasons, but this is the easiest way to debug. Other entry points include:
- csc2.exe and vbc2.exe. These are very small executables that simply run or connect to the VBCSCompiler.exe process and pass command line arguments to it. This allows the VBCSCompiler.exe process to reuse loaded assemblies for multiple projects.
The source of csc2 can be found here . As you can see, this is just a very small app for beginners.
source share