.NET Security exception (???)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am writing an Obfuscator to Obfuscate managed .NET assemblies, the
obfuscator works with most of the assemblies I have tried, how ever, some
assemblies ( such as nunit-gui.exe ) generate the following exception ( Only
with the obfuscated assemblies ) :
“Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.â€
I have verified that no special security attributes are set for any of the
methods/classes/assemblies using Reflector.exe ( a .NET decompiler ), I have
also verified that the .NET Framework is configured to ‘Trust full’, Still,
the problem persist, I have really no idea what may cause this…

Any Help, Ideas or pointers would be appreciated…
 
Another thing, Browsing the stack-trace of the exception I can see that the
exception is somehow related to remoting:
=>
mscorlib.dll!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData
msgData = {System.Runtime.Remoting.Proxies.MessageData}, int type = 0x1) +
0x441 bytes
 
Back
Top