使用MSpec亚军在Visual Studio 2010和.NET 4 [英] Using MSpec runner in Visual Studio 2010 and .NET 4

查看:132
本文介绍了使用MSpec亚军在Visual Studio 2010和.NET 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我MSpec一个大风扇的很自然,我想用用VS2010是马上为好。我的定义是在Visual Studio中的外部工具的MSpec转轮能够有它总是作为一个工具栏项可见。

I'm a big fan of MSpec so naturally I wanted to use is right away with VS2010 as well. I have the MSpec runner defined as an external tool in Visual Studio to be able to have it always visible as a toolbar item.

不管怎样,每当我尝试使用MSpec亚军(mspec.exe)与.NET 4.0的解决方案我收到以下错误:

Anyway, whenever I try to use the MSpec runner (mspec.exe) with a .NET 4.0 solution I get the following error:

无法加载文件或程序   文件:/// C:\用户\ [SomeUser的] \ [SOME_FOLDERS] \斌\调试\ [项目] .Specs.dll或它的某一个依赖。这个组件由一运行时间比当前加载运行时更新的构建并不能装载。

Could not load file or assembly 'file:///C:\Users\[SOMEUSER]\[SOME_FOLDERS]\bin\Debug\[PROJECT].Specs.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

我仍然可以运行我的规格与ReSharper的5亚军所以它是没有什么大剧,但我困扰我没有尽头:个

I can still run my specs with the Resharper 5 runner so it's no big drama, but I bothers me to no end :þ

难道你们有什么想法什么问题可能是什么?有没有比重新编译整个Mspec源$ C ​​$ C作为.NET 4.0的解决方案,我真的,真的不想做其他任何解决办法?

Do you guys have any idea what the problem could be? Is there any solution other than recompiling the whole Mspec source code as a .NET 4.0 solution, which I really, really don't want to do?

在此先感谢。
塞尔吉

Thanks in advance.
Sergi

推荐答案

使用我的 NET4 分支,它包含了一个版本MSpec的是与.NET 4.0兼容。我们正在努力将这些变成MSpec的主人。

Use my net4 branch which contains a version of MSpec that is compatible with .NET 4.0. We're working on integrating these changes into MSpec's master.

<打击> http://github.com/agross/machine.specifications/tree/net4

更新:可 codebetter的TeamCity的服务器(选择客户登录)

Update: Current builds are available on Codebetter's TeamCity server (Choose guest login)

这篇关于使用MSpec亚军在Visual Studio 2010和.NET 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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