update sqlite stuff, also swap it with Microsoft.Data.Sqlite.Core / SQLitePCLRaw.provider.e_sqlite3 and do a different hack to avoid pulling in native deps

This commit is contained in:
CasualPokePlayer 2024-02-12 13:57:22 -08:00
parent bee6ff1a45
commit b34e713f1c
4 changed files with 7 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -8,6 +8,11 @@ namespace BizHawk.Client.Common
{
public sealed class SQLiteApi : ISQLiteApi
{
static SQLiteApi()
{
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_sqlite3());
}
private SqliteConnection _dbConnection;
public string CreateDatabase(string name)

View File

@ -9,7 +9,8 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="NLua, Version=1.4.1.0, Culture=neutral, PublicKeyToken=null, processorArchitecture=MSIL" SpecificVersion="false" HintPath="$(ProjectDir)../../References/NLua.dll" Private="true" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.9" ExcludeAssets="buildTransitive" />
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.1" />
<PackageReference Include="SQLitePCLRaw.provider.e_sqlite3" Version="2.1.8" />
<PackageReference Include="SharpCompress" Version="0.31.0" /><!-- can't update any further or .gz stops being detected as archive -->
<ProjectReference Include="$(ProjectDir)../BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj" />
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.BizwareGL/BizHawk.Bizware.BizwareGL.csproj" />