English 中文(简体)
核心“已提及”
原标题:Nuget "already has a reference to"

测试。 职能选自<代码> 违约项目:下降。

PM> install-package nunit
 NUnit 2.6.0.12054  already installed.
Tests.Functional already has a reference to  NUnit 2.6.0.12054 .

然而,Nunnit没有在试验的参考资料中显示。 解决方案探索者的功能。 Tried reloading VS.Net(2010年)和更新Nutget。

我失踪了吗?

问题回答

在管理TFS下的解决办法时,确保了(SolutionDir)购物库。 洗衣单被检查。

如下:

Uninstall-Package NUnit -Force

核查测试材料. 功能性文件(使用笔记本)不再提及尼共(如果仍然如此,手工删除,项目档案可能带有腐败色彩)。

随后由以下指挥员领导:

Install-Package NUnit

在研究实体框架守则时,我还遇到试图下载Xunit框架的类似问题。 围绕这一点,我选择了一个项目,以安装到该图纸上,然后才管理和删除提及实际需要的项目。

看来,当某个项目提到某组时,核心组会看到这一提法,并且认为它不需要集会,尽管如此。 简单地通过“核心”将组装添加到另一个项目中,就可以解决这个问题。 这不是最棘手的解决办法,而是行之有效的。

Try the following in the Package Manager Console:

Uninstall-Package NUnit -Force

然后,进入你的项目目录,并人工删除贵包中的联尼特参考资料。 简编;项目档案。

Now you can simply Install using:

Install-Package NUnit




相关问题
building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Visual Studio 2010 Beta 2: Can I print in color?

I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

热门标签