- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我喜欢在我的 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
我已经创建了一个项目,我可以在那里安装这个包。
关于c# - 安装包 : Unable to find package 'CommonServiceLocator. MefAdapter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33145909/
我喜欢在我的 Visual Studio Community 2015 项目中包含 CommonServiceLocator.MefAdapter。当我尝试安装包时:https://www.nuget
我是一名优秀的程序员,十分优秀!