tem.MissingMethodException:找不到方法:'Microsoft.VisualStudio.TestTools.UITest.Logging.Primitives.Field Microsoft.VisualStudio.TestTools.UITest.Logging.BuiltInPlugins.CreateActiveScreenField(System.String) [英] tem.MissingMethodException: Method not found: 'Microsoft.VisualStudio.TestTools.UITest.Logging.Primitives.Field Microsoft.VisualStudio.TestTools.UITest.Logging.BuiltInPlugins.CreateActiveScreenField(System.String)

查看:109
本文介绍了tem.MissingMethodException:找不到方法:'Microsoft.VisualStudio.TestTools.UITest.Logging.Primitives.Field Microsoft.VisualStudio.TestTools.UITest.Logging.BuiltInPlugins.CreateActiveScreenField(System.String)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


编码的UI脚本在VS 2012 Ultimate,Update 5版本中运行良好,但是当我在VS 2012 Ultimate RTM中执行相同的脚本时,

 它抛出以下异常BrowserWindow.Launch()方法。
 


{System.MissingMethodException:找不到方法:'Microsoft.VisualStudio.TestTools.UITest.Logging.Primitives.Field Microsoft.VisualStudio.TestTools.UITest.Logging .BuiltInPlugins.CreateActiveScreenField(System.String)'。}



最好的问候,

Best Regards,


Shasitha Dhal。

Shasitha Dhal.

谢谢和问候,Shasitha Kumar Dhal。

Thanks and Regards, Shasitha Kumar Dhal.

推荐答案

亲爱的Shasitha,

Dear Shasitha,

"这是一个问题,当有一个旧版本的DLL时会发生这个问题b $ b 仍然在某处徘徊。确保部署了最新的程序集,并且没有重复的旧程序集隐藏在某些文件夹中。最好的办法是删除每个构建的项目并重建/重新部署整个解决方案。 ;

"This is a problem which can occur when there is an old version of a DLL still lingering somewhere around. Make sure that the latest assemblies are deployed and no duplicated older assemblies are hiding in certain folders. Your best bet would be to delete every built item and rebuild/redeploy the entire solution."

 

祝你好运,

Fletcher


这篇关于tem.MissingMethodException:找不到方法:'Microsoft.VisualStudio.TestTools.UITest.Logging.Primitives.Field Microsoft.VisualStudio.TestTools.UITest.Logging.BuiltInPlugins.CreateActiveScreenField(System.String)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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