Visual Studio 2017 only has offline Nuget Packages for .NET Core 2.x. How to get online packages?

前端 未结 2 1896
盖世英雄少女心
盖世英雄少女心 2021-01-07 20:18

I want to get NuGet Packages from Nuget online, but Visual Studio is only giving me \'Microsoft Visual Studio Offline Packages\' as an option.

I have tried

相关标签:
2条回答
  • I think the answer is:

    1. Right click on the project and choose Manage NuGet packages.

    1. Click on the settings cog in the top right corner of the Nuget packages tab.

    1. In the settings dialog (as shown in the screenshot in the question), click on the + button.
    2. Give the new source a name and a source of https://api.nuget.org/v3/index.json.

    This appears to work for me

    0 讨论(0)
  • 2021-01-07 20:32

    You can try delete the resource "http://packagesource",or reduce the sort.

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