Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild Integrating with MSBuild

Integrating with MSBuild

To integrate Typemock Isolator with MSBuild, you need to add Typemock Isolator’s tasks to the MSBuild project file and define parameters of these tasks, if necessary.

Typemock Isolator provides the following tasks:

TypeMockRegister: registers the Typemock Isolator license

TypeMockStart: starts using Typemock Isolator

TypeMockStop: stops using Typemock Isolator

To run NUnit with Typemock Isolator, NUnit must be run in a new executable with the <Exec> task (the <Nunit> task will not work).

It is recommended to run the executable to support different NUnit versions than those versions that are distributed with MSBuild.

Plug-and-Play Profiling works with MSBuild tasks too. Run the coverage or profiling tool in the contained task.