Build failing when attempting to create a NuGet package
Hello,
I have a build that used to work fine and is now suddenly failing when attempting to create a NuGet package. This is the project I'm having problems with:
https://ci.appveyor.com/project/shaynevanasperen/quarks/build/40
When I run this command locally (pt.bat) it works fine, but not when I run it on AppVeyor. The whole reason I created this build system using PowerShell was to avoid this exact problem of no being able to locally reproduce the build EXACTLY as it works on the build server. What "magic" is going on behind the scenes which is preventing me from achieving this?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Shayne van Aspe... on May 18, 2016 @ 06:10 PM
If I switch to using "Previous Visual Studio 2015" as the build worker image then it works. What magic is going on here?
Support Staff 2 Posted by Feodor Fitsner on May 18, 2016 @ 06:23 PM
It was nuget 3.4.3 installed on build worker. This might be an issue, but you can roll back to 3.3 with a simple PS script:
3 Posted by Shayne van Aspe... on May 18, 2016 @ 06:41 PM
Thank you. In my further testing of this, I have found the problem. The latest version of NuGet fails if the .nuspec file contains escape characters for greater-than or less-than characters, which I was using to describe generic types in the description tag of the .nuspec file.
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:06 AM.