Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Packages with build metadata are not retrieved
-
I have a NuGet package with a version conforming to SemVer 2.0.
It looks like: 1.1.0+MyCompany.0.0.1.This indicates it's a build from MyCompany (the first one).
I can upload this package to ProGet, but I can't retrieve it.Visual Studio 2017 using NuGet 4.6.2:
NuGet Package restore failed for project CSAdapter: Unable to find version '1.1.0' of package 'log4cpp.redist'. http://mycompany.com:81/nuget/SharedComponents: Package 'log4cpp.redist.1.1.0' is not found on source 'http://mycompany.com:81/nuget/SharedComponents'. . Please see Error List window for detailed warnings and errors. NuGet Package restore finished for project 'CSAdapter'.NuGet Package restore failed for project CSAdapter: Unable to find version '1.1.0' of package 'log4cpp'. http://mycompany.com:81/nuget/SharedComponents: Package 'log4cpp.1.1.0' is not found on source 'http://mycompany.com:81/nuget/SharedComponents'. . Please see Error List window for detailed warnings and errors.Manual restore from command as suggested by ProGet doesn't work:
PM> nuget install log4cpp -Version 1.1.0 -Source http://mycompany.com:81/nuget/SharedComponents/ Feeds used: http://mycompany.com:81/nuget/SharedComponents/ Attempting to gather dependency information for package 'log4cpp.1.1.0' with respect to project 'E:\Develop\CSAdapter', targeting 'Any,Version=v0.0' Gathering dependency information took 268,62 ms Attempting to resolve dependencies for package 'log4cpp.1.1.0' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'log4cpp.1.1.0' Resolved actions to install package 'log4cpp.1.1.0' Retrieving package 'log4cpp 1.1.0' from 'http://mycompany.com:81/nuget/SharedComponents/'. Retrieving package 'log4cpp.redist 1.1.0' from 'http://mycompany.com:81/nuget/SharedComponents/'. GET http://rmycompany.com:81/nuget/SharedComponents/package/log4cpp.redist/1.1.0+MyCompany.0.0.1 GET http://mycompany.com:81/nuget/SharedComponents/package/log4cpp/1.1.0+MyCompany.0.0.1 NotFound http:/mycompany.com:81/nuget/SharedComponents/package/log4cpp/1.1.0+MyCompany.0.0.1 172ms NotFound http://mycompany.com:81/nuget/SharedComponents/package/log4cpp.redist/1.1.0+MyCompany.0.0.1 401ms WARNING: Install failed. Rolling back...Notice how the version is expanded to 1.1.0+MyCompany.0.0.1
So I can't get to my NuGet package. Is this a bug? Am I doing something wrong?Product: ProGet
Version: 5.1.2
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login