Use DLL and have it be as trusted as my own application is
- by Binary255
Hi,
I am using a port of GNU GetOpts, to be specific I am using the one at: http://getopt.codeplex.com
I have added the DLL as a reference. But when I run my application I receive an exception:
System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'Gnu.Getopt, Version=0.9.1.24287,
Culture=neutral, PublicKeyToken=d014b4ccdc53511a' or one of its dependencies.
Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)"
If it is possible I would like my application to say, "trust this DLL as much as you trust me". Is there a way to do that so I won't have to fiddle with security settings?
And if there is not. What is the cleanest way to get the DLL working?