Building C# solutions from command line with Visual Studio 2010
问题 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? 回答1: if you open a visual studio command prompt from your start menu - then you can call MSBuild and give that either the .sln file or a specific .csproj file in order to build what you need alternatively you can create a custom MSBuild file that takes care of the tasks. one tip: make sure the version of MSBuild that you use is