-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Issue Description:
Environment:
- OS: Windows 10
- .NET version: .NET 9
- Library: sqlite-net (using Microsoft.Data.Sqlite for SQLite interaction)
Problem:
When compiling my project with Native AOT settings aimed at producing a single file executable, the e_sqlite3.dll is not included in the compiled output. This results in runtime errors due to the absence of the e_sqlite3.dll native library, which is crucial for SQLite functionalities.
Expected Behavior:
The Native AOT compilation process should include all necessary DLLs into the single executable file, ensuring that no external dependencies are required at runtime for SQLite functionalities.
Actual Behavior:
The e_sqlite3.dll is not embedded within the single executable, necessitating manual inclusion or other workarounds to ensure that the application functions correctly after deployment.
Steps to Reproduce:
- Create a .NET console application.
- Add the
sqlite-net-pclNuGet package to the project, which relies onMicrosoft.Data.Sqlite. - Implement functionality to interact with an SQLite database using the
sqlite-netlibrary. - Configure the project for Native AOT compilation with the option to produce a single file executable.
- Compile and deploy the application.
- Run the executable on a system without
e_sqlite3.dlllocated in the application directory or system path.
Metadata
Metadata
Assignees
Labels
No labels