问题
How to build a VC++ solution from the command line with Visual C++ 2012 Express ?
回答1:
Open a "Developer Command Prompt for VS2012", located in the "Microsoft Visual Studio 2012 --> Visual Studio Tools" in "All Programs".
Type msbuild /help to have documentation.
Example:
cd to your solution folder.
type MSBuild MyApp.sln /t:Rebuild /p:Configuration=Release /p:Platform=Win32
来源:https://stackoverflow.com/questions/20065446/how-to-build-a-solution-from-the-command-line-with-vs2012-express