VS2015 nuget package manager not finding packages

后端 未结 8 1327
梦毁少年i
梦毁少年i 2020-12-01 10:13

I installed VS2015 Update 2 and now nuget package manager does not find any packages outside of the \"Microsoft and .net\" package source. It looks like the nuget package so

相关标签:
8条回答
  • 2020-12-01 11:17

    The nuget.org package source is still there after the upgrade for me. But if it ever disappears you can add it back as:

    Name: nuget.org

    Source: https://api.nuget.org/v3/index.json

    0 讨论(0)
  • 2020-12-01 11:18

    This is a known issue with nuget version 3.4, which is included with Visual Studio 2015 Update 2:

    The NuGet.config file in your %AppData%\NuGet\ folder has accidentally been emptied. To fix this: Close Visual Studio 2015, delete the NuGet.config file in the %AppData%\NuGet\ folder and restart Visual Studio. A new NuGet.Config file will be generated and you will be able to proceed.

    0 讨论(0)
提交回复
热议问题