| | |
| | | <ProjectReference Include="..\Aging.Infrastructure\Aging.Infrastructure.csproj" /> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
| | | <Content Include="..\Libs\SQLite.Interop.dll" Link="SQLite.Interop.dll"> |
| | | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| | | </Content> |
| | | <Content Include="..\Libs\SQLite.Interop.dll" Link="x64\SQLite.Interop.dll"> |
| | | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| | | </Content> |
| | | </ItemGroup> |
| | | <!-- |
| | | 不要手动复制 Libs\SQLite.Interop.dll 到输出目录。 |
| | | 托管层 System.Data.SQLite 为 1.0.118,其原生 interop(1.0.118) 由 NuGet 包 |
| | | stub.system.data.sqlite.core.netframework 的 build 目标自动放入输出的 x64\x86\ 子目录。 |
| | | 此前用 Content 覆盖 x64\SQLite.Interop.dll 会写入过时的 1.0.113,导致 |
| | | “无法在 SQLite.Interop.dll 中找到入口点”并使所有依赖 SQLite 的初始化失败。 |
| | | --> |
| | | |
| | | </Project> |