I’m getting runtime error “System.DllNotFoundException: Unable to load DLL ‘libgdiplus’” while generating barcode using aspose.barcode in PCF hosting dev environment but works locally fine in my windows machine.
Solutions i tried so far :
- Added “System.Drawing.Common” package to host and tested.
- Update Fax service with “CoreCompact.libgdiplus Nuget package and tested.
- Update Fax service with “System.Text.Encoding.CodePages” Nuget package and tested.
- Add PCF environment variables to point to these dlls and tested.
Host server details :
- PCF ( Cloud Foundry stack: cflinuxfs3)
- .Net Core
Note: I created this in a separate thread as suggested from my other discussion