Skip to content

fix: Initialize SQLitePCL after extracting native DLL to prevent star…#40

Merged
NerdsCorp merged 1 commit into
mainfrom
claude/fix-editor-startup-error-suVJ3
Dec 28, 2025
Merged

fix: Initialize SQLitePCL after extracting native DLL to prevent star…#40
NerdsCorp merged 1 commit into
mainfrom
claude/fix-editor-startup-error-suVJ3

Conversation

@NerdsCorp
Copy link
Copy Markdown
Owner

…tup error

The SQLitePCLRaw.bundle_e_sqlite3 package was attempting to auto-initialize before the embedded sqlite3.dll was extracted, causing a DllNotFoundException at startup. This fix explicitly initializes SQLitePCL.Batteries_V2 after the native DLL extraction to ensure proper initialization order.

Resolves the "System.DllNotFoundException: Dll was not found" error that occurred during SqliteConnection initialization in Database.cs:89.

…tup error

The SQLitePCLRaw.bundle_e_sqlite3 package was attempting to auto-initialize
before the embedded sqlite3.dll was extracted, causing a DllNotFoundException
at startup. This fix explicitly initializes SQLitePCL.Batteries_V2 after the
native DLL extraction to ensure proper initialization order.

Resolves the "System.DllNotFoundException: Dll was not found" error that
occurred during SqliteConnection initialization in Database.cs:89.
@NerdsCorp NerdsCorp merged commit a8cfe99 into main Dec 28, 2025
1 check passed
@NerdsCorp NerdsCorp deleted the claude/fix-editor-startup-error-suVJ3 branch December 28, 2025 20:28
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.

2 participants