FileNotFoundException抱怨我在VS2015安装路径中找到的Microsoft.VisualStudio.TestTools.UITesting.dll [英] FileNotFoundException complaining about Microsoft.VisualStudio.TestTools.UITesting.dll, which I found in VS2015 installation path

查看:248
本文介绍了FileNotFoundException抱怨我在VS2015安装路径中找到的Microsoft.VisualStudio.TestTools.UITesting.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法加载文件或程序集'Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility,Version = 14.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'或其依赖项之一。系统找不到指定的文件。


这是在以下语法上发生的:


Keyboard.SendKeys(" {ENTER}");


我从我的一个项目中复制使用完全相同的方式。我根本没有源项目的错误! 



解决方案

嗨Fankie,


欢迎光临MSDN论坛。


< span style ="font-size:11.0pt; font-family:'Calibri',sans-serif">请参阅错误信息,似乎在您的解决方案文件夹下找不到所需的程序集,请右键单击Reference-Add Reference ...然后单击Browse ...,
在VS安装文件夹下找到此程序集,如C:\Program Files( x86)\  Microsoft Visual Studio 14.0 \Common7 \IDE \PrivateAssemblies将其添加,然后再次检查此项目。


如果此问题仍然存在,请随时告诉我们。


最好的问候,


萨拉


Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

this is occurred on below syntax:

Keyboard.SendKeys("{ENTER}");

which I copied from one of my projects used exact the same way. I didn't have error on source project at all! 

解决方案

Hi Fankie,

Welcome to the MSDN forum.

Have you reference this assembly ‘Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility’ in your project?

Refer to the error message, it seems the required assembly cannot found under your solution folder, please right click the Reference-Add Reference… and click Browse…, locate this assembly under the VS installation folder like C:\Program Files (x86)\ Microsoft Visual Studio 14.0 \Common7\IDE\PrivateAssemblies to add it, then check this project again.

If this issue persists, please feel free to let us know.

Best regards,

Sara


这篇关于FileNotFoundException抱怨我在VS2015安装路径中找到的Microsoft.VisualStudio.TestTools.UITesting.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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