Using IncrediBuild for Visual Studio 2010 and Later

Using IncrediBuild for Visual Studio 2010 and Later

You can use IncrediBuild with Visual Studio 2010 and later the same as with Visual Studio 2008 and earlier (see Using IncrediBuild with Visual Studio 2008 and Earlier), with the additions described in the following sections.

Setting a specific project to run locally

Distribution of heavy tasks to remote agents might lead to a high I/O ratio on the Initiator machine, which can lead to an increase in the build time. The projects containing those heavy tasks can be defined to run only on the local machine.

To mark a project to run only locally:

  1. Right-click the project in Visual Studio, and select "Properties"->"Configuration Properties"->"C/C++"->"Preprocessor Definitions".
  2. Add the following string to the "Preprocessor Definitions" section: IB_RunLocal

Synchronizing specific files back to the Initiator machine

This section is mainly relevant for processes that are defined as VC compiler = true. For example: Microsoft compiler and Intel compiler, which are defined in IncrediBuild to return OBJ files. If you want them to return other files, you can explicitly define those files that should be synchronized back to the Initiator machine.

To define files to be synchronized back to the Initiator machine:

  1. On the Coordinator machine, right-click the IncrediBuild tray icon, and in the menu that appears, select Coordinator Monitor.
    The Coordinator Monitor opens, with a list of all the agents.
  2. In the list of agents, right-click the initiator agent, and in the menu that appears, select Set Registry Value...
    The Set Registry Value dialog box opens.
  3. Make sure that Value Category is set to Builder.
  4. Under Name, type: AdditionalOutputMasks.
  5. Under Data, type either of the following strings to define the files that you want returned to the Initiator machine:
    *.txt - to return all *.txt files.
    *.txt;*.xml - to return all *.txt files as well as all *.xml files.
  6. Click OK.
    The registry value is added to the Initiator machine.