-
Notifications
You must be signed in to change notification settings - Fork 104
USING THE SAMPLES
Samples are available in the codebase, the help file and the online help.
-
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"/>