|
Request for the permission of type 'System.Security.Permissions.Fi I've been trying to run XAML browser applications on the C drive using visual
studio 2005, but I receive the error
System.Security.SecurityException: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I have tried setting the trust level to full in the application
configuration file, and adding;
[assembly:FileIOPermission(SecurityAction.RequestMinimum, Unrestricted =
true)]
[assembly: PermissionSetAttribute(SecurityAction.RequestMinimum, Name =
"FullTrust")]
to the AssemblyInfo.cs file. I have also set intranet trust to full under
the .Net configuration tool.
Can anyone help me fix this error?
Thanks. |