Description
Adding the Import
<Import Project="..\packages\GitVersionTask.3.6.3\build\portable-net+sl+win+wpa+wp\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.3.6.3\build\portable-net+sl+win+wpa+wp\GitVersionTask.targets')" />
into a ccproj (Azure cloud service) project results in the project not loading in Visual Studio with the error:
path is not relative
By a process of elimination, it is caused by this block of ncrunch-related ItemGroup
None
definitions. If those are commented out then the error does not occur. If the first one is left in, then the error comes back and the project will not load.
Workarounds:
- Comment out this entire
ItemGroup
- Add a
Condition=" $(NCrunch) != '' "
to the item group on this line.
Are these ncrunch definitions required in the targets file once it is deployed to the nupkg? If not could they be removed, and if so could we just add the condition to them (I'm not sure if that condition is correct, but it "Works On My MachineTM")?