VS 2015 CTP 6 Nuget Package Source

本秂侑毒 提交于 2019-12-21 12:28:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!