If you haven't already noticed, there is a major change in NuGet between Visual Studio 2013 and Visual Studio 2015 which is undocumented on the NuGet site!
If you read this article: https://docs.nuget.org/consume/nuget-config-file#package-sources
You will see that the NuGet official package source is listed as: https://nuget.org/api/v2/
This is the same Url that is listed in Visual Studio 2013 as the NuGet official package source.
However, Visual Studio 2015 is using a newer version of NuGet and therefore has the following Url: https://api.nuget.org/v3/index.json
If you read this article: https://docs.nuget.org/consume/nuget-config-file#package-sources
You will see that the NuGet official package source is listed as: https://nuget.org/api/v2/
This is the same Url that is listed in Visual Studio 2013 as the NuGet official package source.
However, Visual Studio 2015 is using a newer version of NuGet and therefore has the following Url: https://api.nuget.org/v3/index.json
No comments:
Post a Comment