Using the IncrediLink Option

Using the IncrediLink Option

Note:

This section describes how to speed up incremental links in Visual Studio .NET, 2005, and 2008 using the IncrediLink option.

Overview

The IncrediLink option can speed up incremental links from several minutes to as little as a few seconds. It does this by combining Visual Studio's incremental linking option and modifying the link.exe command line, so that references to LIB files are replaced by references to the OBJ files, which make up that LIB file (wherever possible). The latter modification is required in order for the incremental linking feature to be effective in solutions consisting of LIB projects, which are linked into the main project(s).

Enabling IncrediLink

To turn on IncrediLink, select the "By default, enable IncrediLink" option in the Agent Settings dialog Visual Studio Builds->Linker page.

Two modes are available when this option is active:

For Visual Studio 2005/2008 builds, a choice is given between the standard mode of operation ("According to IncrediBuild default setting") or the "According to 'use Library Dependency Inputs' project option" setting, which will cause IncrediLink to be activated only for projects which have this setting activated in the project's properties (the 'Use library Dependency Inputs' property is Visual Studio 2005/2008's equivalent setting to IncrediLink).

Note:

Considerations

There are a few things to consider with this feature turned on: