Skip to content

Conversation

ALVIS-Software
Copy link

The "gdal" subfolder needs to preserved for publishing (#151)

@ALVIS-Software
Copy link
Author

@szekerest
Could you please review this change? I have updated my project dependencies from 2.x version to current 3.6.3.
When I run my project inside VS, everything is working fine. The working folder structure looks like:

Project\bin\gdal\x64\gdal.dll

When I publish this web project for deployment the "gdal" folder is missing and the folder structure looks like:

Project\bin\x64\gdal.dll

Trying to run this published site leads to runtime errors because of "missing" native assemblies (they are just one level to high).

That's why I submitted the PR, which keeps the same structure in published build as in running version inside VS debugger.

I would prefer to use official packages and no more self patched versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant