Bit fo background firs... We do not support deployment items from networked shares that are not fully trusted. All DLLs (including the test DLL) are "deployed" implicitly, so are subject to this requirement.
"wait, I'm not using a network share!" -- Indeed you are not. However, if you downloaded a DLL from the internet, a web site, email etc. and you saved it to disk (even when it was in a zip file), Windows XP SP2 and Win2k3SP1 will attach something called "AES" to the file on disk -- this will cause those prompts in windows that say "Are you sure?" when you try to open them from explorer. If the DLL has this extra info (stored in an NTFS Alternate Data Stream), we will report the DLL as not trusted.
YOu can resolve this by finding the DLL, right clicking on it and selecting propeties. on the general tab there will be an "unblock" option. CLick this. Your test should now run fine.
SDE on VSTest |