本文介绍了无法从Visual Studio 2010运行单元测试方法。(运行测试)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





当我从Visual Studio 2010(C#)运行单元测试方法时,我面临以下问题,



测试适配器('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter,Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter,Version = 10.0.0.0,Culture = neutral,无法加载执行此测试所需的PublicKeyToken = b03f5f7f11d50a3a'。检查测试适配器是否安装正确。对象引用未设置为对象的实例。





我已经尝试过多种方式来解决谷歌的问题,但没有什么是有用的。



或者我需要更新任何测试工具插件包来解决这个问题,因为这似乎是环境问题?



请帮我解决这个问题,我非常感谢你的帮助。



非常感谢

sarath

Hi,

I am facing the below issue when i run Unit Test methods from my Visual studio 2010(C#),

"""The test adapter ('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') required to execute this test could not be loaded. Check that the test adapter is installed properly. Object reference not set to an instance of an object."""


I have tried in multiple ways in solving the issue by google, but nothing were useful.

Or do i need to update with any of Test Tool Addon Packs in solving this, as it seems to be environment issue?

Please help me in solving this and i am highly thankful for your help.

Many thanks
sarath

推荐答案


这篇关于无法从Visual Studio 2010运行单元测试方法。(运行测试)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 07:59
查看更多