ghostscriptsharp
ghostscriptsharp copied to clipboard
Build 32-bit local but deploy with 64-bit
There are two symptoms of what I believe is the same issue.
I've installed GhostScriptSharp using Nuget and I'm running it locally on a 32-bit machine in the Azure Development Fabric. Everything is working wonderfully.
When I deploy to Azure, which is 64-bit, I'm getting the following error message.
Unable to load DLL 'gsdll32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
There are two issues here as I can tell
- The project did not build with the 64-bit GhostScriptSharp.cs
- Regardless of the build, the gsdll32.dll or gsdll64.dll is not being copied into the correct folder. Are there any recommendations to get this working on the Azure deployments?
I've posted the question to stackoverflow as well.
http://stackoverflow.com/questions/24519908/ghostscriptsharp-on-azure
Thanks in advance for the assistance
I've upgraded my machine to 64-bit to resolve this issue. Unfortunately, although the project is built targeting 64-bit, the system.intpr.size == 4 if statement continues to return true. Any suggestions would be appreciated.
I know it has been a reallly long time since this issue was opened, but I believe I have fixed this issue in my branch: https://github.com/thegrandpoobah/ghostscriptsharp/tree/more64bits