Skip to main content
Version: QB80

Build with Devenv

Most Visual Studio projects can be built from command line with devenv command. QuickBuild supports this method now. You just need add a devenv step in your configuration steps definition.

Configure Devenv command location

warning

The deveenv command should be devenv.com instead of devenv.exe. They exist in the same directory.

By default, QuickBuild executes "devenv.com" to run this build step, and expects this file to be on the system path. If not, you will need to specify path to this file by configuring the Devenv plugin through the Plugin Management page.

Further more, Devenv.com location can be specified on a per-node basis by following below steps:

  1. Go to Plugin management page and configure Devenv plugin

  2. Set the property Devenv Executable Path as below and save:

    ${node.getAttribute("devenvPath")}
  3. For each node that does not have command devenv.com on system path or need different version of devenv.com , [define the user attribute](Working with Build Grid.html#WorkingwithBuildGrid-defineuserattributes) devenvPath to point to the actual Devenv command path, for example:

    devenvPath=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com

    In case of user agent node, the user attribute need to be defined [in this way](Manage User Agent.html#ManageUserAgent-defineuserattributes).

Please note that in above example, the devenvPath user attribute is just for demonstration purpose. You can use any other user attribute name.