Builds a solution using a specified solution configuration file.
This switch performs the same function as the Build Solution menu command within the integrated development environment (IDE).
Enclose strings that include spaces in double quotation marks.
Summary information for builds, including errors, can be displayed in the Command window, or in any log file specified with the /out switch.
This command only builds projects that have changed since the last build. To build all projects in a solution, use /Rebuild (devenv.exe).
This example builds the project CSharpConsoleApp, using the Debug project build configuration within the Debug solution configuration of MySolution.
devenv "C:\Documents and Settings\someuser\My Documents\Visual Studio\Projects\MySolution\MySolution.sln" /build Debug /project "CSharpWinApp\CSharpWinApp.csproj" /projectconfig Debug