AllowPartiallyTrustedCallers not working on Shared Assembly
-
Hi Guys, I have created an assembly containing Tasks for use with MSBuild. In order to get the build working across all development machines, i have placed it on a shared directory. The assmebly works fine locally, but when i try to call it from the network drive, it failes with: System.Security.SecurityException: That assembly does not allow partially trusted callers. I have added the following line to the assmebly info: [assembly: AllowPartiallyTrustedCallers()] I have also signed the assembly with a strong key. The issue still persists. Any thoughts? Regards Tristan Rhodes
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
Hi Guys, I have created an assembly containing Tasks for use with MSBuild. In order to get the build working across all development machines, i have placed it on a shared directory. The assmebly works fine locally, but when i try to call it from the network drive, it failes with: System.Security.SecurityException: That assembly does not allow partially trusted callers. I have added the following line to the assmebly info: [assembly: AllowPartiallyTrustedCallers()] I have also signed the assembly with a strong key. The issue still persists. Any thoughts? Regards Tristan Rhodes
------------------------------- Carrier Bags - 21st Century Tumbleweed.
The workstations themselves haven't been told to trust the network location or trust assemblies signed with a certain key.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
The workstations themselves haven't been told to trust the network location or trust assemblies signed with a certain key.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...Ah, i see! Thank you :)
------------------------------- Carrier Bags - 21st Century Tumbleweed.