gpt4 book ai didi

c# - 安装包 : Unable to find package 'CommonServiceLocator. MefAdapter

转载 作者:太空狗 更新时间:2023-10-30 00:02:43 25 4
gpt4 key购买 nike

我喜欢在我的 Visual Studio Community 2015 项目中包含 CommonServiceLocator.MefAdapter。当我尝试安装包时:https://www.nuget.org/packages/CommonServiceLocator.MefAdapter/1.0.0

我得到错误:

PM> Install-Package CommonServiceLocator.MefAdapter Install-Package : Unable to find package 'CommonServiceLocator.MefAdapter' At line:1 char:17 + Install-Package <<<< CommonServiceLocator.MefAdapter + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

最佳答案

检查您的 NuGet 服务器路径是否正确。

您可以这样操作:工具->选项->NuGet 包管理器(使用搜索)。检查你的路径是https://api.nuget.org/v3/index.json

enter image description here

我已经创建了一个项目,我可以在那里安装这个包。

关于c# - 安装包 : Unable to find package 'CommonServiceLocator. MefAdapter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33145909/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com