MSTestExtensions 项目与 VS2010 兼容吗?
我们一直使用VS2008,很快将升级到VS2010。我一直在使用 MSTestExtensions 来通过 MSTest 进行集成测试的数据库回滚功能。看来这个开源项目在过去的2-3年里并没有做出太大的贡献。因此,我很好奇是否有人尝试在 VS2010 中使用它。还有效吗?
We've been using VS2008 and soon will be upgrading to VS2010. I have been using MSTestExtensions for it's database rollback feature for integration tests via MSTest. It seems the open source project has not been having much contribution in the last 2-3 years. Thus, I was curious if anyone has tried to use it with VS2010. Does it still work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看到您可以将源代码下载到 MSTestExtensions 项目,可能值得获取源代码并在 VS 2010 中构建它。由于 VS 2010 中的 MSTest 功能自 VS 2008 以来没有发生太大变化(根据我的阅读) ,我想说你很有可能构建代码。生成的二进制文件可用于 VS 2010 开发(希望如此!:)
Seeing that you can download the source code to the MSTestExtensions project, it might be worth getting the source and building it in VS 2010. Since the MSTest functionality in VS 2010 has not changed that much since VS 2008 (from what I've read), I would say you have a good possibility of getting the code to build. The resulting binaries could be used for your VS 2010 development (hopefully! :)
我现在可以验证2008 MSTestExtensions dll 确实可以与 Visual Studio 2010 配合使用。
唯一的问题是它没有出现在 .net 引用列表中,因此我必须手动浏览到它的安装位置。就我而言,这是 C:\Windows\ assembly\GAC_MSIL\MSTestExtensions。只需添加对 2.0 版本 dll(VS 2008 版本)的引用,它就会按预期工作。
I can now verify that the 2008 MSTestExtensions dll does indeed work with Visual Studio 2010.
The only thing is it didn't show up in the list of .net references so I had to manually browse to where it was installed. In my case that was to C:\Windows\assembly\GAC_MSIL\MSTestExtensions. Just add a reference to the version 2.0 dll (VS 2008 version) and it will work as expected.