.net - nuget安装退出代码9009

标签 .net visual-studio build nuget

在构建我的解决方案时,出现错误:

Error 116 The command "nuget install “C:\Mycode\Test\some\ClassLibs\WCF\ServiceHosts\Monitor\packages.config” -o “C:\Mycode\Test\Some\ClassLibs\WCF\ServiceHosts\Monitor\packages.config”" exited with code 9009

我用的是 VS 2012,谢谢。

最佳答案

为了解决“nuget exited with code 9009”错误,我下载了最新版本的 NuGet.exe (https://www.nuget.org/downloads) 并将其放在 C:\Windows 目录中,以便 Windows 可以找到可执行文件。

关于.net - nuget安装退出代码9009,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15097538/

相关文章:

.net - LINQ 是否保证从 XDocument 读取的项目顺序?

.net - 启动配置文件初始化程序 : Unable to parse the launchSettings. json 文件

.net - 如何使用DPAPI加密SecureString以保存到磁盘,而无需先转换为不安全的字符串?

c++ - 如何为非模板类​​定义模板方法?

c# - 是否可以使用 VSPackage 添加新项目向导?

c++ - Visual Studio 2010 - 文件夹中的文件没有 ../../Include.h

build - 找不到 Pixman - Cmake 错误

c# - 使用复选框禁用 ListView 中的单个复选框

node.js - Jenkins - NPM 更新失败

azure - Azure DevOps 中的 Cypress 自动化项目