Building C# solutions from command line with Visual Studio 2010

alexfr picture alexfr · Oct 8, 2010 · Viewed 60.2k times · Source

I want to automate the build process for my C# solutions. How can I build C# solutions from the command line so that I don't have to deal with dependencies manually?

Answer

Nate picture Nate · Oct 8, 2010

For solutions you can use:

devenv /build Release Solution.sln

or

devenv /build Debug Solution.sln