This project is read-only.

Access denied while trying to use the Gnu.Getopt DLL


I have referenced the Gnu.Getopt dll in a c# console application. I manage to create an array of longopts and build the solution (which means the DLL reference is correct. However when i execute the application i got the following error:


Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Gnu.Getopt, Version=, Culture=neutral, PublicKeyToken=d014b4ccdc53511a' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) File name: 'Gnu.Getopt, Version=, Culture=neutral, PublicKeyToken=d014b4ccdc53511a' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired.


Any suggestion will be appreciated.


muhammedh wrote May 7, 2009 at 3:06 PM

Sorry this should have been a discussion item. please ignore this post. Thanks.

wrote Feb 14, 2013 at 2:54 AM