Reputation: 337
Running Cake Build script on my local machine works fine but when same script is run on TeamCity, the following error appears: Nuspec file does not exist in package.
Any idea what could have caused this error?
Upvotes: 7
Views: 1570
Reputation: 1589
I add an additional step on top of my build steps which is a command line custom script
dotnet nuget locals --clear all
Upvotes: 3
Reputation: 504
I spent two days due to this error
On dotnet build --configuration Release
in TeamCity PowerShell, always got this error
error NU5000: Nuspec file does not exist in package
After deleting this folder, everything worked C:/Users/teamcity_user/.nuget
Upvotes: 14