This project is read-only.

Ghostscript.net install into the GAC

May 8, 2014 at 5:45 PM
Hello,

i've tried to install the ghostscript.net.dll into the GAC without success. Do i miss something?
Also the drag&drop thing doesn't work...

Tia,
joschy3d
May 8, 2014 at 7:42 PM
Edited May 9, 2014 at 7:10 AM
Hi joschy3d,

I had no problems with installing Ghostscript.NET to GAC.

You need to have admin rights to install it to GAC.

What you can do is to use windows explorer to go to "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts" , right click on 'VS2013 x64 Native Tools Command Prompt' or 'VS2013 x86 Native Tools Command Prompt' and click on "Run As Administrator".

When command prompt is opened simply run:
gacutil -i Ghostscript.NET.dll
Make sure you are using correct gacutil as Ghostscript.NET.dll is compiled for .NET framework 4.0. Also make sure you are using last version of the Ghostscript.NET (1.1.8) as earlier ones (I think prior 1.1.5) were not strongly named.

It would be helpful if you could post here an error message you get when you are trying to install Ghostscript.NET.dll to GAC.

Cheers,
Josip
May 8, 2014 at 8:36 PM
Hi Josip,

it was the wrong gacutil.exe. With the .NET framework 4.0 gacutil.exe it works.

Thank you,
joschy3d