STEPS TO REPRODUCE
It workes correctly with older NuGet versions, e.g. NuGet 3.3
It does not work with new versions: NuGet 3.5.0.1996, NuGet 3.4.4
HTTP communication captured using Fiddler:
We assume it is because the server-side uses some older repository structure.
Was support for such old repository deprecated and not supported anymore by clients?
Should the server-side provide something for the client to be able to detect it is the old repository?
Maybe related: #4847
Thanks for reporting this issue. We have not been able to reproduce this issue. If you are still able to reproduce this with the latest NuGet version, please provide additional steps.
@emgarten Unfortunately this issue still exists in both NuGet 3.5 and NuGet 3.6.0.2511. Tested again with Visual Studio 2015. Or is there something different that could influence it (e.g. version of some other extension in Visual Studio)?
Can confirm the same issue using VS 2017 15.4.0
It stopped working after I installed .NET 4.7.1 on my nuget server.
Have you tried to put virtual repo over remote repo and install packages from virtual?
This sounds like a problem with the feed. This repository tracks issues for the client side of nuget.
Ok. Sorry
Facing this issue with VS 2017 Community edition
New nuget client and some older nuget servers (e.g. this Java server: https://github.com/JetBrains/teamcity-nuget-support/tree/standalone3) are not compatible.
Creating a new nuget server following some up-to-date instructions will solve this problem.
I had this problem last night in VS2017 15.9.11.
All VS2017 projects were stuck, and I was unable to browse NuGet packages through VS2017. However, this was only occurring on my computer at the office.... but again, it was occurring for all projects on my computer.
The error message included a note about .NET 4.6.1... which is what I was generally using for my projects. A co-worker was using .NET 4.7, and having no issue. I didn't have .NET 4.7 installed, but I already had 4.6.2 installed (though I hadn't yet used it in a project). So I upgraded to .NET framework 4.6.2 on that particular project (the one that originally had the issue), and the problem went away on all projects.... even the original project when I reload from version control with .NET Framework 4.6.1.
I can't even regenerate the error... at least so far.
So the problem seems to be solved in my case by switching .NET Frameworks.... even temporarily.
I just had a similar problem last night in VS2017 15.9.11, and the solution in my case was to change .NET Framworks... even temporarily.
Details:
All VS2017 projects were stuck, and I was unable to browse NuGet packages through VS2017. However, this was only occurring on my computer at the office.... but again, it was occurring for all projects on my computer.
The error message included a note about .NET 4.6.1... which is what I was generally using for my projects. A co-worker was using .NET 4.7, and having no issue. I didn't have .NET 4.7 installed, but I already had 4.6.2 installed (though I hadn't yet used it in a project). So I upgraded to .NET framework 4.6.2 on that particular project (the one that originally had the issue), and the problem went away on all projects.... even the original project when I reload from version control with .NET Framework 4.6.1.
I can't even regenerate the error... at least so far.
So the problem seems to be solved in my case by switching .NET Frameworks.... even temporarily.
Most helpful comment
Facing this issue with VS 2017 Community edition