
Samples are installed to
· [ProgramFilesFolder]\MSBuild\ExtensionPack\Samples
The samples for the tasks match those that are provided in this Help file.
1. 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.
2. The samples use a special 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 import:
|
<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
|