Microsoft.Data.Sqlite 10.0.11 breaks .NET Framework builds via SQLitePCLRaw.lib.e_sqlite3 2.1.12 missing win-arm native

未关闭
#38,803 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@AndriySvyryd 已经在做这个了。

开始于 2026年8月14日。

评估

这个 Issue 还没有评估数据。

描述

area-adonet-sqlite

Description

Microsoft.Data.Sqlite 10.0.11 pulls SQLitePCLRaw.bundle_e_sqlite3 2.1.12, which depends on SQLitePCLRaw.lib.e_sqlite3 2.1.12. That package has a bug where the buildTransitive\net461\SQLitePCLRaw.lib.e_sqlite3.targets file references runtimes\win-arm\native\e_sqlite3.dll, but the win-arm native binary was removed from the package contents in that version.

This breaks any multi-target project (e.g. net472;net10.0) that references Microsoft.Data.Sqlite 10.0.11 during the .NET Framework build.

Upstream issue: https://github.com/ericsink/SQLitePCL.raw/issues/678

Error

Could not copy the file "C:\Users\...\.nuget\packages\sqlitepclraw.lib.e_sqlite3\2.1.12\runtimes\win-arm\native\e_sqlite3.dll" because it was not found.

Workaround

Pin Microsoft.Data.Sqlite to version 10.0.10, which pulls SQLitePCLRaw.lib.e_sqlite3 2.1.11 (where the file exists).

Ask

Once the upstream fix is released (likely as SQLitePCLRaw.lib.e_sqlite3 2.1.13), please update Microsoft.Data.Sqlite to reference the corrected version in a servicing patch.

Environment

  • .NET SDK: 10.0
  • Project target frameworks: net472;net10.0
  • OS: Windows x64
  • Microsoft.Data.Sqlite: 10.0.11 (broken), 10.0.10 (works)
主要语言
C#
星标
14.8k
派生
3.5k
平均合并
3 天 7 小时
30 天内合并 PR
182

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/efcore 的其他 Issue

查看 dotnet/efcore 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。