问题
After installing VS 2015 CTP 6 it added the following url to Available Package Sources:
https://api.nuget.org/v3/index.json
and turned off the following:
https://www.nuget.org/api/v2/
When it did this it stopped downloading all nuget packages. I switched it back to the old one and everything is working again.
One thing I noticed is that the old feed is xml and the new one is json.
NOTE: I did upgrade the Nuget Package Manager after installing VS 2015 CTP 6.
Is anyone else having this issue?
Example Error:
Error: FindPackagesById: System.Threading.Tasks Response status code does not indicate success: 400 (One of the request inputs is out of range.).
回答1:
Known bug. It can be seen here: http://blog.nuget.org/20150226/nuget-3.0-beta2.html
来源:https://stackoverflow.com/questions/28842138/vs-2015-ctp-6-nuget-package-source