Skip to content

Conversation

@LucDeCaf
Copy link

Fixes #14 by checking the application's base directory for powersync.dll.

Applications packaged via a Windows Application Packaging project are flattened to have all DLLs placed in the same directory. Currently, PowerSync.Common only checks <approot>/runtimes/<rid>/native/powersync.dll, which doesn't exist in packaged apps due to the aforementioned DLL flattening. This PR adds a check to see if it can find powersync.dll in the root folder and if so, loads that DLL instead of the runtimes/<rid>/native one.

@LucDeCaf LucDeCaf requested a review from Chriztiaan December 31, 2025 10:02
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.

Error when packaging the app as .appxupload

2 participants