Test Run deployment issue: The location of the file or directory <assembly path> is not trusted.I am getting this error when I try to run a unit test.&nbsp; The assembly is a 1.1 assembly that is strong named.&nbsp; What else do I need to do?&nbsp;© 2009 Microsoft Corporation. All rights reserved.Fri, 10 Jul 2009 16:51:52 Z1a9c13b3-e8b9-4619-9159-3edbfc67b8a9http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#1a9c13b3-e8b9-4619-9159-3edbfc67b8a9http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#1a9c13b3-e8b9-4619-9159-3edbfc67b8a9Michael Millerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20MillerTest Run deployment issue: The location of the file or directory <assembly path> is not trusted.I am getting this error when I try to run a unit test.&nbsp; The assembly is a 1.1 assembly that is strong named.&nbsp; What else do I need to do?&nbsp;Tue, 27 Sep 2005 17:25:20 Z2005-09-27T17:25:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#667f20c4-4045-48f7-9d54-d97952b65013http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#667f20c4-4045-48f7-9d54-d97952b65013dhopton MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=dhopton%20MSFTTest Run deployment issue: The location of the file or directory <assembly path> is not trusted.For this you need to trust path the assembly is from.<br /><br />This can be done through the .net configuration wizard -- Just add that specific path as full trust, and you should be fine.Tue, 27 Sep 2005 18:02:40 Z2005-09-27T18:02:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#b60aedcb-097f-461f-b7c4-730ddd2ff21ehttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#b60aedcb-097f-461f-b7c4-730ddd2ff21eMichael Millerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20MillerTest Run deployment issue: The location of the file or directory <assembly path> is not trusted.Thanks for the reply - but I think&nbsp;it was another problem.&nbsp;&nbsp;I checked the&nbsp;.NET configuration&nbsp;settings and by default&nbsp;the My_Computer_Zone covers the location of the assembly with the FullTrust permission set.&nbsp; The problem appears to be that the referenced assembly had a security attribute set and when viewing the properties of the file I saw the following message: This file came from another computer and might be blocked...&nbsp; I clicked the Unblock button, rebuilt and it worked.&nbsp; Thanks for the help.Tue, 27 Sep 2005 18:22:15 Z2005-09-27T18:22:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#86c1b885-f3a7-4144-87f5-01e0a5c23346http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#86c1b885-f3a7-4144-87f5-01e0a5c23346James Fuhrhttp://social.msdn.microsoft.com/Profile/en-US/?user=James%20FuhrTest Run deployment issue: The location of the file or directory <assembly path> is not trusted.Is there a way to prevent Windows from re-blocking an assembly after you unblock and rebuild?<br /><br />I unblocked the assembly, rechecked properties, then rebuilt.&nbsp; After a rebuild, the assembly is once again blocked.<br /><br />Fri, 28 Oct 2005 00:20:10 Z2005-10-28T00:20:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#0eb40786-6c0b-4579-9394-1c55e86a7fechttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#0eb40786-6c0b-4579-9394-1c55e86a7fecJames Fuhrhttp://social.msdn.microsoft.com/Profile/en-US/?user=James%20FuhrTest Run deployment issue: The location of the file or directory <assembly path> is not trusted.<img src="/msdn//emoticons/emotion-2.gif" alt="Big Smile" />Ah, I figured out what I was doing wrong.<br /><br />I was unblocking the copied assembly and not the source assembly.<br /><br />Once I unblocked the assembly at the source location, the copied version into the bin directory was fine.<br />Fri, 28 Oct 2005 00:26:23 Z2005-10-28T00:26:23Zhttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#8dac64f6-5681-4c60-ac81-f27872009bc0http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#8dac64f6-5681-4c60-ac81-f27872009bc0soundman32http://social.msdn.microsoft.com/Profile/en-US/?user=soundman32Test Run deployment issue: The location of the file or directory <assembly path> is not trusted.My system (XP/SP2) doesn't have an unblock button !!<br><br>Is there another way of unblocking this?<br><br>Neil<br><br>Fri, 13 Jul 2007 12:34:20 Z2007-07-13T12:34:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#d5af7558-9441-4dac-9491-e5591ea47d32http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/1a9c13b3-e8b9-4619-9159-3edbfc67b8a9#d5af7558-9441-4dac-9491-e5591ea47d32Devdumperhttp://social.msdn.microsoft.com/Profile/en-US/?user=DevdumperTest Run deployment issue: The location of the file or directory <assembly path> is not trusted. Trackback with instructions...<br><a href="http://devdump.wordpress.com/2008/12/08/test-run-deployment-issue/">http://devdump.wordpress.com/2008/12/08/test-run-deployment-issue/</a>Mon, 08 Dec 2008 17:02:51 Z2008-12-08T17:02:51Z