JoelHT-Landmark / NuGet-PackageNPublish

Project template and packaging targets file to allow easier Package'n'Publish integration with TFS (or other CI) builds.
Other
13 stars 12 forks source link

NuGet.PackageNPublish breaks NCrunch builds #33

Closed JoelHT-Landmark closed 6 years ago

JoelHT-Landmark commented 6 years ago

Since updating to PackageNPublish 10.1.2 NCrunch does not work with projects that use this. It worked fine previously but now we get this error:

..\..\packages\NuGet.PackageNPublish.0.10.1.2\build\NuGet.PackageNPublish.targets (160, 5): Unable to locate 'NuGet.exe'
JoelHT-Landmark commented 6 years ago

Fix is simple - don't create a nuget package when building under NCrunch!

Condition="'$(NCrunch)' != '1'"

http://www.ncrunch.net/documentation/V3/troubleshooting_ncrunch-specific-overrides

JoelHT-Landmark commented 6 years ago

Fixed and closed