Skip to main content
Version: QB13

Build with MSBuild

QuickBuild is able to integrate with the popular build tool - MSBuild for .NET platform. You just need simply add a MSBuild step in the configuration steps definition.

Configure MSBuild command location

By default, QuickBuild executes "MSBuild.exe" 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 MSBuild plugin through the Plugin Management page.

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

  1. Go to Plugin management page and configure MSBuild plugin

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

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

    msBuildPath=C:\WINDOWS\Microsoft.NET\Framework\4.0\MSBuild.exe

    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 msBuildPath user attribute is just for demonstration purpose. You can use any other user attribute name.

Configure MSBuild step

Basically, QuickBuild just need specify a project file to execute the MSBuild command. QuickBuild also gives you more flexibility to define your MSBuild command, most of the fields are scriptable, that means you need not input fixed values, instead you can input a script and QuickBuild will evaluate it later when this step is triggered.