PDA

View Full Version : How to build using Visual Build in the Visual Studio IDE


kinook
07-19-2006, 08:28 AM
Quite often, building a solution with Visual Build can be faster than building via the VS IDE itself. You can configure to build via VBP from the IDE using the following steps:

1) Save the attached .bld file to C:\vs.bld
2) Add an external tool in Visual Studio (Tools | External Tools) configured like so:
Title: Visual Build
Command: C:\Program Files\VisBuildPro9\VisBuildCmd.exe
Arguments: "c:\vs.bld" "SLN_FILE=$(SolutionDir)\$(SolutionFileName)" "CONFIG=Debug|Any CPU"
Use Output window: checked

Note: You'll need to change the config as needed in the Arguments field to match the solution configuration you wish to build.

Build the solution by choosing Tools | Visual Build on the menu (you can also tie a keystroke to the Tools.ExternalCommandx for that external tool via Tools | Options -> Environment -> Keyboard if desired). The output will be captured to the VS Output window.