这是我的NuGet.config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<disabledPackageSources>
<add key="Microsoft and .NET" value="true" />
</disabledPackageSources>
</configuration>
现在,在Visual Studio中,当我尝试安装'geckofx45‘包时,我得到以下错误:
安装包geckofx45安装包:无法加载源https://api.nuget.org/v3/index.json的服务索引。第1行: NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand :1+ install-package geckofx45 +~+ CategoryInfo : NotSpecified:(:) Install-Package,Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,char
你有什么解决方案吗?
提前谢谢你
https://stackoverflow.com/questions/49773500
复制相似问题