Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: _rasterizer.Open(ms) throws System.NullReferenceException in .net 4.5

$
0
0
Hi,

I did test Ghostscript.NET in .NET 4.0. and 4.5., both works for me (x86, x64).

What Ghostscript.NET version do you use?

Try to open MemoryStream this way:
_rasterizer.Open(ms, GhostscriptVersionInfo.GetLastInstalledVersion, false);
Also, you could try to download latest source code from https://github.com/jhabjan/Ghostscript.NET and attach Ghostscript.NET project instead of dll. This will give you more clear exception.

Cheers,
Josip

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>