Visual Studio 2010找不到QualityTools.WebTestFramework [英] Visual Studio 2010 can't find QualityTools.WebTestFramework

查看:80
本文介绍了Visual Studio 2010找不到QualityTools.WebTestFramework的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚从VS2008升级到VS2010 Premium.我有大量用VS2008编写的脚本.当我尝试打开它们时,我收到以下错误消息:加载C:---位置--- Test.dll时出错:无法加载测试容器'---位置--- \ Visual Studio 2010 \ Projects \ Test \ Test \ bin \ Debug \ Test.dll"或其依赖项之一.错误详细信息:System.IO.FileNotFoundException:无法加载文件或程序集"Microsoft.VisualStudio.QualityTools.WebTestFramework,版本= 10.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a"或其依赖项之一.系统找不到指定的文件.

We just upgraded from VS2008 to VS2010 Premium. I have a large amount of scripts that were written in VS2008. When I attempt to open them I get the following error message: Error loading C:---location---Test.dll: Unable to load the test container '---location---\Visual Studio 2010\Projects\Test\Test\bin\Debug\Test.dll' or one of its dependencies. Error details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

我已经搜索了很多有关此问题的答案,但无法在线找到合适的文件. VS团队中的某人曾说过这是一个错误,已经修复,但是我不得不说该修复无效.我还尝试将WebTestFramework的设置(特定版本)更改为false,但没有成功.我也尝试手动添加引用,但是VS2010文件夹中的WebTestFramework文件是xml文件而不是dll.

I've searched quite a bit for the answer to this but can't find a decent one online. At one point in someone on the VS team said that this was a bug and it had been fixed, but I'd have to say the fix was not valid. I also tried changing the settings on the WebTestFramework - specific version to false with no success. I also attempt to manually add the reference but the WebTestFramework file in the VS2010 folder is an xml file instead of a dll. 

如果有人有任何解决方案,我真的很想听听.由于这个问题,我已经有一些需要运行的测试对我来说是无用的,而且我没有时间重新开始并从头开始重写它们.

If anyone has any solution I'd really like to hear it. I've got tests that need to be run that are now useless to me because of this issue and I don't have time to start over and re-write them from scratch.

 

推荐答案

thadb,

感谢您报告此问题.

您是否安装了Visual Studio 2010的RTM版本?

Did you install the RTM version of Visual Studio 2010?

安装后,应在GAC中安装Microsoft.VisualStudio.QualityTools.WebTestFramework程序集.您可以从%WinDir%/assembly检查它是否存在.

After the installation, the Microsoft.VisualStudio.QualityTools.WebTestFramework assembly should be installed in the GAC. You can check if it is there from %WinDir%/assembly.

它也位于磁盘上:< Microsoft Visual Studio 10.0> \ Common7 \ IDE \ PublicAssemblies.

It also locates at disk: <Microsoft Visual Studio 10.0>\Common7\IDE\PublicAssemblies.

如果找不到它,我怀疑它是由安装问题引起的.您可以重新安装VS 2010来更正它吗?谢谢.

If you can't find it, I suspect it is caused by an installation problem. Could you reinstall VS 2010 to correct it? Thanks.


这篇关于Visual Studio 2010找不到QualityTools.WebTestFramework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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