Could not load file or assembly Operation is not supported. (Exception from HRESULT: 0x80131515)
问题 When I run CodedUI Test from a small Console tool via vstest.console.exe from a scheduled task I sometimes see this error message on different PCs: error : Could not load file or assembly 'file:///C:\foobar.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) Why/what is this not supported? 回答1: Right click on the Dll and unblock it. 回答2: During my research I found that this may happen when you downloaded a test in a ZIP from the internet and the