Skip to content
Mike Fourie edited this page May 26, 2014 · 2 revisions

Samples are available in the codebase, the help file and the online help.

PLEASE NOTE

  • Some samples may work ‘as-is’, whilst others may need some configuration to execute successfully, e.g. entering your computer name, or a specific file path. Most samples are intended to be read and understood, rather than executed.

  • The samples use a specific import method so that it’s easy for end users to run them from the installation folder and for developers to run them from within the development IDE, e.g.

<PropertyGroup> <TPath>$(MSBuildProjectDirectory)\..\MSBuild.ExtensionPack.tasks</TPath> <TPath Condition="Exists('$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks')">$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks</TPath> </PropertyGroup> <Import Project="$(TPath)"/>

It should not be necessary for you to include the above type of import in your usage of the tasks. If you have used the default installation path, simply use the following imports:

  • 3.5 -> <Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
  • 4.0 -> <Import Project="$(MSBuildExtensionsPath)\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks"/>
Clone this wiki locally