无法在 Visual Studio 2019 中搜索 NuGet 包 [英] cannot search for NuGet Packages in visual studio 2019

查看:56
本文介绍了无法在 Visual Studio 2019 中搜索 NuGet 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法在 Visual Studio 2019 中搜索在线 NuGet 包.默认包源处于离线状态,并且没有添加在线包源的选项.通过互联网搜索.无法找到解决方案.请检查下面的图片.

Cannot search for online NuGet packages in visual studio 2019. Default package source is offline and no option for adding online package source. Searched through the internet. Wasn't able to find the solution. Please check the image below.

推荐答案

将包源更改为 nuget.org,如果不可用则添加它 https://api.nuget.org/v3/index.json

Change the Package Source to nuget.org, if is not available add it https://api.nuget.org/v3/index.json

这篇关于无法在 Visual Studio 2019 中搜索 NuGet 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆