EntityFrameworkCore.Sqlite.Legacy 1.0.0-ci.11

This is a prerelease version of EntityFrameworkCore.Sqlite.Legacy.
dotnet add package EntityFrameworkCore.Sqlite.Legacy --version 1.0.0-ci.11
                    
NuGet\Install-Package EntityFrameworkCore.Sqlite.Legacy -Version 1.0.0-ci.11
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EntityFrameworkCore.Sqlite.Legacy" Version="1.0.0-ci.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EntityFrameworkCore.Sqlite.Legacy" Version="1.0.0-ci.11" />
                    
Directory.Packages.props
<PackageReference Include="EntityFrameworkCore.Sqlite.Legacy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EntityFrameworkCore.Sqlite.Legacy --version 1.0.0-ci.11
                    
#r "nuget: EntityFrameworkCore.Sqlite.Legacy, 1.0.0-ci.11"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EntityFrameworkCore.Sqlite.Legacy@1.0.0-ci.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EntityFrameworkCore.Sqlite.Legacy&version=1.0.0-ci.11&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EntityFrameworkCore.Sqlite.Legacy&version=1.0.0-ci.11&prerelease
                    
Install as a Cake Tool

EntityFrameworkCore.Sqlite.Legacy

NuGet package for EF Core 10 projects that need legacy encrypted SQLite compatibility through a bridge host.

Install

dotnet add package EntityFrameworkCore.Sqlite.Legacy

Designed for legacy encrypted datasets

This package is commonly used when the database was created with provider/encryption stacks historically found in large-scale legacy enterprise systems, including scenarios with RC4 or RSA-oriented legacy encryption workflows.

It keeps EF Core at application level while delegating low-level DB opening/execution to a host that runs with System.Data.SQLite.

How it works

DbContext (EF Core 10)UseSqliteLegacy(...)Named Pipe BridgeSqlite.LegacyBridge.Host (net462)System.Data.SQLitelegacy encrypted db

Setup in Startup

using EntityFrameworkCore.Sqlite.Legacy;

SqliteLegacyDbContextOptionsExtensions.SetupBridgeHost();

Then configure your context:

services.AddDbContext<MyDbContext>(options =>
{
    options.UseSqliteLegacy(o =>
    {
        o.DatabasePath(@"C:\data\plu.db3");
        o.Password("your-password");
    });
});

Automatic host provisioning

SetupBridgeHost() checks runtime legacy/ content and downloads host binaries if missing:

  • https://github.com/matheushoske/Sqlite.LegacyBridge.Host/releases/latest/download/Sqlite.LegacyBridge.Host.zip

Advanced configuration example

optionsBuilder.UseSqliteLegacy(o =>
{
    o.DatabasePath(@"C:\data\cfe.db3");
    o.Password("your-password");
    o.HostExecutablePath(@"C:\myapp\legacy\Sqlite.LegacyBridge.Host.exe");
}, sqlite =>
{
    sqlite.MigrationsAssembly("My.Migrations");
});

Compatibility

  • Target: net10.0
  • EF family: 10.x

Need EF Core 3.1? Use:

  • EntityFrameworkCore.Sqlite.Legacy.Ef31

Notes for production legacy environments

  • Validate encryption/password compatibility with your original DB creator stack.
  • Keep host and native SQLite files together.
  • Prefer controlled rollout with fixed package/release versions.
  • For migration edge-cases in old providers, use baseline + manual SQL strategy.

Troubleshooting

  • file is not a database: wrong password, wrong file, incompatible encryption/provider pairing.
  • Host not found: call SetupBridgeHost() before DbContext wiring.
  • Interop/runtime errors: check architecture requirements (x86 in many legacy setups).
  • Startup blocked: verify antivirus rules for host process creation.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-ci.11 70 4/29/2026
1.0.0-ci.10 68 4/24/2026
1.0.0-ci.9 72 4/23/2026
1.0.0-ci.8 66 4/23/2026