There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
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=0.9.1.24287, Culture=neutral, PublicKeyToken=d014b4ccdc53511a' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT:
0x80131418) File name: 'Gnu.Getopt, Version=0.9.1.24287, Culture=neutral, PublicKeyToken=d014b4ccdc53511a' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired.
Any suggestion will be appreciated.