通过的NuGet NUnit.Runners上的Visual Studio 2012的前preSS不工作 [英] NUnit.Runners via Nuget on Visual Studio 2012 express doesn't work

查看:197
本文介绍了通过的NuGet NUnit.Runners上的Visual Studio 2012的前preSS不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图建立在使用的NuGet管理的Visual Studio 2012例preSS简单NUnit的项目。 从项目 - >管理的NuGet软件包我安装NUnit的(框架),并希望增加NUnit.Runner但在安装过程中我收到:

I'm trying to set up simple NUnit project in Visual Studio 2012 Express using NuGet manager. From PROJECT-> Manage NuGet Packages I installed NUnit (framework) and wanted add NUnit.Runner but during installation I'm receiving:

'NUnit.Runners 2.6.2' already installed.

好了,但是当我去的工具 - >库包管理器 - >管理的NuGet软件包的解决方案  这两个NUnit的(框架)和NUnit.Runners显示为安装。

Ok, but when I go to the TOOLS->Library Package Manager->Manage nuGet Packages for Solution both NUnit (framework) and NUnit.Runners are displayed as installed.

我可以使用NUnit的框架,在code,但是当我试图运行测试旧的'测试资源管理器的客人,不显示任何东西。测试不调用都不是。

I can use NUnit framework in the code but when I'm trying to run tests the old 'Test Explorer' stays and doesn't show anything. Tests are not invoked neither.

我缺少的东西在VS2012或NUnit的配置?

Am I missing something in VS2012 or NUnit configuration?

推荐答案

当我发现了Visual Studio的前preSS不支持扩展项目(禁止的,并禁止微软)。因此,似乎没有选择使用NUnit的没有一些解决方法。到目前为止,我安装的预期完整版有NUnit的亚军作品。

As I've found out Visual Studio Express does not support project extensions (forbidden and disabled by Microsoft). So it seems there's no option to use NUnit without some workarounds. So far I installed full version and there NUnit runner works as expected.

这篇关于通过的NuGet NUnit.Runners上的Visual Studio 2012的前preSS不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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