I want to compile a .NET/C# project, but I don't want to install Visual Studio to do this.
What tools do I need and how can I compile the project?
In case the project uses NuGet packages, you can follow these steps to retrieve them:
If you want to avoid installing Visual Studio, you might want to try Mono, a cross-platform and open source .NET runtime and development framework. Mono is based on the published ECMA standard for C# and is directly compatible with pre-compiled C# applications.
Mono also includes a tool called XBuild which can fully replace MSBuild. See this article from the Mono project regarding porting a project from MSBuild to XBuild. A one-line description of XBuild from the Wiki:
Note that in addition to Linux, Windows and Mac OS X are also supported.