c# - System.IO.FileNotFoundException:无法加载文件或程序集'Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility
问题描述
看起来我缺少一个 dll,我试图获取参考
Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility" 14.0.0.0 或更早版本不起作用。
Result Message:
Test method “Test001” threw exception:
System.IO.FileNotFoundException: 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.=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Users/user-name/documents/visual studio 2015/Projects/ bin/Debug
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.VisualStudio.TestTools.UITest.Extension, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\adan\documents\visual studio 2015\Projects \bin\Debug\App.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
解决方案
推荐阅读
- javascript - Express.JS:req.params 返回未定义的值
- git - Why does my remote repo increase in size after bfg clean up?
- docker - MSBuild Professional 和 Tools 有什么区别
- django - 如何注册 postgres 以正确格式发送 CIDR 数据
- sql - Postgres:'SELECT * FROM t WHERE a < CURRENT_TIMESTAMP ORDER BY b' 的最佳索引是什么?
- javascript - 如何使用带有值的 jQuery 更改 css 样式元素
- python - setPixel() 缺少 1 个必需的位置参数:“颜色”
- javascript - ant-design table 组件中仅选择一行
- jenkins - Jenkins无法在解压缩时创建文件
- python - TypeError:“标签”对象不可调用