I've added references to the Yui compressor dll's in my .Net 2.0 project but when I try to run my website on a shared hosting environment, I'm getting the error:
"That assembly does not allow partially trusted callers."
I've tried adding the following line to my AssemblyInfo.cs file but with no luck resolving the issue:
I also added this line but this didn't fix the problem:
[assembly: System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.RequestMinimum, Name = "FullTrust")]
Does anyone know how to resolve this issue?