Dashboard > GreenPepper Server > ... > MSBuild > MSBuild - Guide
 GreenPepperThis Space is not registered in GreenPepper Server.
Be Careful

Available since GreenPepper 2.5.1

The GreenPepper MSBuild tasks are used during the Integration test phase of the build life cycle to execute the specifications of an application. They generate reports in plain HTML file format (*.html). By default, these files are generated in the build file directory.

Tasks overview

There are two GreenPepper MSBuild tasks:



Usage

To use the MSBuild Tasks for GreenPepper, you must load task extensions assembly: GreenPepper.Extensions.dll
To do so, you have to indicate in your MSBuild project file :

For GreenPepperTask
<UsingTask TaskName="GreenPepper.MSBuild.GreenPepperTask" AssemblyFile="GreenPepper.Extensions.dll"/>
For FreezeTask
<UsingTask TaskName="GreenPepper.MSBuild.FreezeTask" AssemblyFile="GreenPepper.Extensions.dll"/>


Examples

To better understand the usages of the GreenPepper MSBuild tasks, take a look at the following examples:

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <UsingTask TaskName="GreenPepper.MSBuild.GreenPepperTask" AssemblyFile="GreenPepper.Extensions.dll"/>
  <UsingTask TaskName="GreenPepper.MSBuild.FreezeTask" AssemblyFile="GreenPepper.Extensions.dll"/>
  <!-- GreenPepper's tasks can be written there -->
  <!-- ....... -->
</Project>
Be Careful

If your project has a dependency on GreenPepper.Extensions, make sure your project reference on GreenPepper.Extensions and the MSBuild GreenPepper.Extensions assembly, reference the same file

© Pyxis Technologies Inc.. All rights reserved. GreenPepper® is registered to Pyxis Technologies inc.