.net - 无法加载文件或程序集 不支持操作。 (来自 HRESULT : 0x80131515) 的异常

标签 .net visual-studio-2012 scheduled-tasks coded-ui-tests

当我通过 vstest.console.exe 从一个小型控制台工具运行 CodedUI 测试时从计划任务中,我有时会在不同的 PC 上看到此错误消息:

error : Could not load file or assembly 'file:///C:\foobar.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)



为什么/这是不支持的?

最佳答案

enter image description here

右键单击 Dll 并取消阻止它。

关于.net - 无法加载文件或程序集 不支持操作。 (来自 HRESULT : 0x80131515) 的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34400546/

相关文章:

c# - 为什么建议在 .NET 中使用反射?

c# - Visual Studio 2012 WPF 设计器不显示。它只显示 xaml 源

asp.net-web-api - 来自 System.Web.Http.HostAuthenticationFilter 的 OperationCanceledException

java - 如何在 spring boot 中使用 @Async 和 @Scheduled 注解?

c# - 为什么 DataContract 比 Serializable 快?

.net - 监视 Azure WebJob 的 CPU 和内存

c# - 强制 .NET 编写原生波斯数字而不是美国格式

javascript - Visual Studio - 为 HTML 模板和语法突出显示使用自定义脚本标记类型

c++ - VS 2012 Ultimate update 4 不会编译数组

mysql - 在 mysql 中创建每日星期日报告