I\'m struggling getting some unit tests running and wondering if anyone might have anything insightful.
The setup is that we\'ve got a bunch of referenced DLL\'s on
You need to download the streams.exe from the below path: http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx
place it in the same folder where you have the problem with the dll and navigate to that path in powershell/command prompt and run the below command: streams -s -d(command prompt) .\streams.exe -s -d "Folder Name"(from powershell)
Are the .dlls in question files downloaded from the internet?
If so, they may be 'blocked' by the OS unless you explicitly unblock them. You can do this by right-clicking the files in question and select Properties, and then click on the Unblock button.
Uncheck 'readonly' before you select 'Unblock' from the properties dialog of the assembly in question. It should stay unblocked if it is not readonly.
Ian had the key that started the fix for me. I'm attempting to use WatiN on Windows 7 64bit and kept getting the "not trusted" error. Here are the steps I took to fix it.
Unless you get the stray WatiN dll's VS will continue to access the untrusted DLL's and drive you nuts.
If you go to the dll through Winodws Explorer, right click and go to properties there's an "Unblock" button.