的NuGet安装退出code 9009 [英] nuget install exit code 9009

查看:730
本文介绍了的NuGet安装退出code 9009的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在建立我的解决方案,我得到了一个错误:

When build my solution, I got an error:

错误116的命令的NuGet安装C:\我的code \测试\些\ ClassLibs \ WCF \ ServiceHosts \显示器\ packages.config-oC:\我的code \测试\有些\ ClassLibs \ WCF \ ServiceHosts \显示器\ packages.config退出,code 9009

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,谢谢你。

I use VS 2012, Thanks.

推荐答案

错误9009意味着Visual Studio中找不到可执行 - 通常是一个以pre使用或交建的一步。在这种情况下,似乎的NuGet是问题的根源。

Error 9009 means that Visual Studio cannot find an executable - typically one used in a pre or post build step. In this instance, it seems that NuGet is the source of the problem.

难道你用的是解决方案,管理依赖使用的NuGet(也可能有启用的NuGet包还原选项),但尚未加载的NuGet扩展到Visual Studio 2012?

Is it possible that you are using a solution that manages dependencies using NuGet (and probably has the "Enable NuGet package restore" option enabled), but you haven't yet loaded the NuGet extension into Visual Studio 2012?

要确认是否是这种情况,转到工具菜单,然后单击扩展和更新,选择安装类型的NuGet <大骨节病>返回成的扩展和更新形式的右上角的搜索框。如果它的安装,你应该看到它列出一个版本号 - 例如2.4.40116.9051我相信这是最新版本,因为我键入此。如果你没有找到它,从上扩展和更新形式的左侧列表中选择在线。找到的NuGet包管理器条目(很可能是列表中的第一项),然后点击下载抓住它。

To confirm if this is the case, go to the Tools menu, and click "Extensions and Updates", select installed and type nuget Return into the search box at the top right corner of the Extensions and Updates form. If it's installed, you should see it listed with a version number - for example 2.4.40116.9051 which I believe is the most recent release as I type this. If you don't find it, select "online" from the list on the left hand side of the Extensions and Updates form. Locate the NuGet Package Manager entry (quite possibly the first item on the list) and click "download" to grab it.

这篇关于的NuGet安装退出code 9009的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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