I plan to use Sublime Text 2 as my code source editor for C#/Java projects and I don't want to install Visual Studio, so can I compile C# project from CLI?
5 Answers
MSBuild is the build system that Visual Studio uses - you can use it directly with solution and project files as they are msbuild files.
It comes with the .NET redistributable downloads.
Note that for many types of solutions you will need to install auxiliary tools (for example resgen if you have any resource generation happening).
1 Comment
Basically, you can use csc.exe tool, located in c:\Windows\Microsoft.NET\Framework\framework_version\ to compile source files(C#) into executables.
You can create your custom scipt using it and run it to get exe or dll.
2 Comments
csc for any but the most trivial project (seeing as you need to list all source files on the command line etc...).The only "serious" option left is http://monodevelop.com/