Using MSBuild to Build a Release from the Command Line
Note:If you use MSBuild to build Visual Studio solutions with InstallShield projects, MSBuild requires .NET Framework 3.5 or later.
MSBuild provides an easy way to build a release from the command line on a machine on which Visual Studio is not installed. The only components you must have installed on the machine are the .NET Framework and the InstallShield Standalone Build. Place a copy of your Visual Studio solution on the machine, and run MSBuild.
To use MSBuild from the command line:
1. | Open the Command Prompt window. |
2. | Change the directory to the one that contains MSBuild.exe: |
C:\Windows\Microsoft.NET\Framework\Version Folder\
3. | Type the command-line statement to build the release build of the Visual Studio integration project. For example: |
MSBuild.exe C:\Folder Containing My Visual Studio Solution\My Solution.sln /property:Configuration=Release