-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NuGet v3.4 not requesting full version on restore when normalized version results in 404 #3492
Comments
Hey @dmeyer573: We do not want to introduce extra calls to the server that will delay the most common case for users. The reason proget returns 404 is that some of (very old projects) treat 5.1.0 differently than 5.1.0.0, that is not supported and we won't make it work again in NuGet. Our recommendation is as follows
|
Yishai, Thank you for your quick response. I will consider the options you have provided. I’m sure we will find one of them suitable. Thank you! Derek Meyer o. 303.357.5115 | m. 720.350.5768 | commercesync.comhttp://commercesync.com/ [http://commercesync.com/assets/emailsig/commsync_logo.png]http://commercesync.com/ [http://commercesync.com/assets/emailsig/FB.png]https://www.facebook.com/CommerceSync[http://commercesync.com/assets/emailsig/TW.png]https://twitter.com/CommerceSync[http://commercesync.com/assets/emailsig/LI.png]https://www.linkedin.com/company/commerce-sync From: Yishai Galatzer [mailto:[email protected]] Hey @dmeyer573https://github.com/dmeyer573: We do not want to introduce extra calls to the server that will delay the most common case for users. The reason proget returns 404 is that some of (very old projects) treat 5.1.0 differently than 5.1.0.0, that is not supported and we won't make it work again in NuGet. Our recommendation is as follows
— |
I thought this was already addressed in NuGet Client 3.4? "If we get a 404 we will get all versions of the packages and pick it from there" |
For documentation's sake, we are using ProGet version 2.1.4. We have plans to update this to the latest version (4.3.1) for other reasons. I'm happy to report back if this changes the issue in any way; however, it likely won't happen for at least a couple of weeks. Additionally, I am happy to provide any additional information that might be helpful. |
Oh my. Yeah, you should definitely upgrade. I'm surprised it still works. |
Agreed. That being said, it has served us well for years. Thanks! |
@dmeyer573 @apapadimoulis closing as I think this is resolved. Feel free to continue the discussion if I missed something. |
I am using the latest version of NuGet packaged with Visual Studio 2015 Update 3 (3.4.4.1321). When I attempt to restore packages from my internal NuGet feed (hosted in ProGet) I get the following error message on some of my packages, "Unable to find version '5.1.0' of package 'MyPackageName'". The portion of the error log showing the attempt to find the package on my internal feed shows the message, "The V2 feed at 'http://packages.ipcommerce.com/nuget/components/FindPackagesById()?id='MyPackageName'' returned an unexpected status code '404 Not Found'". The actual version of the package being restored is '5.1.0.0'. This issue seems similar to the one documented here: #2298. This issue is only occurring with my packages that have a version ending with .0.0. This functionality works using NuGet v3.3. My understanding based on the previous ticket I referenced is that v5.1 == v5.1.0.0. NuGet should detect the 404 being returned from ProGet and then attempt the 5.1.0.0 version as well. Please let me know if my assumption is correct and what I can do to resolve this issue. I'm happy to provide any additional information that would be helpful in understanding what's going on here.
Thank you!
The text was updated successfully, but these errors were encountered: