VS2015 - The 'NuGetPackage' package did not load correctly

后端 未结 11 1841
孤街浪徒
孤街浪徒 2020-12-15 14:59

Just opened up VS 2015 Enterprise RTM, opened up an existing working project, getting the following error:


Microsoft Visual Studio

11条回答
  •  盖世英雄少女心
    2020-12-15 15:38

    It seems that nuget in VS2015 is set up to show only microsoft packages. To be able to search all packages in nuget.org go to Tools > Options > NuGet Package Manager > Package Sources, click add, put nuget.org as Name and https://www.nuget.org/api/v2/ as Source, then click OK. Now in Nuget Package Manager you can select nuget.org (or All) as Package source and you will be able to search for all packages (not only the ones coming from microsoft).

提交回复
热议问题