问题描述
我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或它的某一个依赖。这个组件由一运行时间比当前加载运行时更新的构建并不能装载。
我仍然可以运行我的规格与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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!