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

Absolute NuGet path stop project from loading. #106

Open johnpaulcreates opened 6 years ago

johnpaulcreates commented 6 years ago

I store my nuget packages on a different drive, which results in an absolute path to the packages (P:\ in my case).

When installing the nuget package for TemplateBuilder it alters the project file but assumes that this is a relative path resulting in a project that wont load.

in the project file the TemplateBuilderTargets element looks something like this:

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

Im not sure of what path i should put in here to get it working... can anyone point me in the right direction?