ligershark / template-builder

This project will output a NuGet package which can be used to help create Visual Studio Item Templates and Project templates
Other
42 stars 28 forks source link

The provided path "$(TemplateBuilderTargets)" does not end in the ".targets" extension. #104

Open alessandrofrancesconi opened 7 years ago

alessandrofrancesconi commented 7 years ago

The error The provided path "$(TemplateBuilderTargets)" does not end in the ".targets" extension. appears just after installing TemplateBuilder (tested with 1.1.3 and 1.1.5-beta) on Visual Studio 2015, even on an empty project.

It refers to the following group in the .vcxproj file:

<PropertyGroup Label="TemplateBuilder">
    <TemplateBuilderTargets Condition=" '$(TemplateBuilderTargets)'=='' ">$([System.IO.Path]::GetFullPath( $(MSBuildProjectDirectory)\..\packages\TemplateBuilder.1.1.3\tools\ligershark.templates.targets ))</TemplateBuilderTargets>
</PropertyGroup>

After this message, the project is not loading anymore.