Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[release/9.0-staging] Improve LoadExtension to work correctly with dotnet run and lib* named libs#35717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@roji
Copy link
Member

@rojiroji commentedMar 3, 2025
edited
Loading

Backport of#35617 (see#35718 for 9.0 backport PR)
Closes#35715

Description

This improves the extension loading logic of Microsoft.Data.Sqlite to attempt to load native extensions from additional standard native library locations. This is particularly important to SQLite vector database support, which will become our first getting started sample for vector databases with Microsoft.Extensions.VectorData etc. This is an important part of the .NET Intelligent Apps story.

Customer impact

This enables nuget packages to bundle extension native binaries (e.g.sqlite_vec), and for SQLite to just pick them up without any additional obscure handling of native library loading paths.

How found

Path of SQLite vector data investigative work by@krwq.

Regression

No

Testing

Manual testing performed.

Risk

Very low - only adds additional attempts to load from. Quirked.

/cc@krwq

…d libs* Improve LoadExtension to work correctly with dotnet run and lib packages* Use [] instead of Array.Empty
@rojiroji merged commit6e2f99c intodotnet:release/9.0-stagingMar 4, 2025
7 checks passed
@rojiroji deleted the sqlite-load-extension-9 branchMarch 4, 2025 18:34
This was referencedJul 22, 2025
This was referencedNov 24, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AndriySvyrydAndriySvyrydAndriySvyryd approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@roji@AndriySvyryd@krwq

[8]ページ先頭

©2009-2025 Movatter.jp