c# - Visual Studios 2015 NuGet Ghostscript Installation Error -


i can't seem figure out how fix installation error gsdll32

i running 64 bit windows , visual studios 2015. thing can think of nuget trying install 32 bit dll on 64 bit version of visual studios. can't seem confirm error else. need ghostscript convert pdfs jpgs on website. if have alternative ghostscript let me know. visual studios installed ghostscript.net fine. fails on ghostscript itself.

pm> install-package ghostscript -version 9.2.0 attempting gather dependency information package 'ghostscript.9.2.0' respect project 'wilcox_fresh', targeting '.netframework,version=v4.6.1' gathering dependency information took 845.32 ms attempting resolve dependencies package 'ghostscript.9.2.0' dependencybehavior 'lowest' resolving dependency information took 0 ms resolving actions install package 'ghostscript.9.2.0' resolved actions install package 'ghostscript.9.2.0' retrieving package 'ghostscript 9.2.0' 'nuget.org'. adding package 'ghostscript.9.2.0' folder 'c:\users\neoaptt\source\repos\wilcoxfreshsite\packages' added package 'ghostscript.9.2.0' folder 'c:\users\neoaptt\source\repos\wilcoxfreshsite\packages' install failed. rolling back... package 'ghostscript.9.2.0' not exist in project 'wilcox_fresh' removing package 'ghostscript.9.2.0' folder 'c:\users\neoaptt\source\repos\wilcoxfreshsite\packages' removed package 'ghostscript.9.2.0' folder 'c:\users\neoaptt\source\repos\wilcoxfreshsite\packages' executing nuget actions took 460.6 ms install-package : failed add reference 'gsdll32'. @ line:1 char:1 + install-package ghostscript -version 9.2.0 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : notspecified: (:) [install-package], exception     + fullyqualifiederrorid : nugetcmdletunhandledexception,nuget.packagemanagement.powershellcmdlets.installpackagecommand  time elapsed: 00:00:01.4721036 

visual studios 2015 nuget ghostscript installation error

that because gsdll32.dll native dll, not not managed .net library. not install in project. download package , include dll file project "content" , set value of properties "copy output directory" "copy always".

you can refer how use ghostscript converting pdf image more detail info calling ghostscript dll directly.

besides, expect next version of ghostscript package.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -