LocalDb 20.2.1

dotnet add package LocalDb --version 20.2.1
                    
NuGet\Install-Package LocalDb -Version 20.2.1
                    
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="LocalDb" Version="20.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalDb" Version="20.2.1" />
                    
Directory.Packages.props
<PackageReference Include="LocalDb" />
                    
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 LocalDb --version 20.2.1
                    
#r "nuget: LocalDb, 20.2.1"
                    
#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 LocalDb@20.2.1
                    
#: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=LocalDb&version=20.2.1
                    
Install as a Cake Addin
#tool nuget:?package=LocalDb&version=20.2.1
                    
Install as a Cake Tool

Documentation

Provides a wrapper around SqlLocalDB to simplify running tests against Entity Framework or a raw SQL Database.

See Milestones for release notes.

Sponsors

Entity Framework Extensions

Entity Framework Extensions is a major sponsor and is proud to contribute to the development this project.

Entity Framework Extensions

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Framework net48 is compatible.  net481 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 (2)

Showing the top 2 popular GitHub repositories that depend on LocalDb:

Repository Stars
SimonCropp/Delta
An approach to implementing a 304 Not Modified leveraging DB change tracking
getsentry/sentry-dotnet
Sentry SDK for .NET
Version Downloads Last Updated
20.2.1 170 8/15/2025
20.2.0 129 8/14/2025
20.1.5 248 8/6/2025
20.1.4 1,003 6/13/2025
20.1.3 526 5/8/2025
20.1.2 192 5/8/2025
20.1.1 176 5/7/2025
20.1.0 200 5/7/2025
20.0.3 3,843 2/15/2025
20.0.2 246 2/12/2025
20.0.1 120 2/11/2025
20.0.0 3,283 11/20/2024
19.2.1 684 11/1/2024
19.2.0 103 11/1/2024
19.1.2 800 10/14/2024
19.1.1 547 10/4/2024
19.1.0 105 10/4/2024
19.0.4 20,302 9/3/2024
19.0.3 120 9/2/2024
19.0.2 100 9/2/2024
19.0.1 119 9/2/2024
19.0.0 151 8/30/2024
18.0.2 141 8/29/2024
18.0.1 12,394 6/3/2024
18.0.0 787 5/7/2024
17.0.2 583 4/15/2024
17.0.1 229 4/10/2024
17.0.0 386 3/26/2024
16.1.1 873 3/6/2024
16.1.0 5,244 12/12/2023
16.0.0 2,861 11/15/2023
15.4.0 2,461 8/3/2023
15.3.0 321 7/26/2023
15.2.1 218 7/25/2023
15.2.0 210 7/25/2023
15.1.1 207 7/25/2023
15.1.0 193 7/25/2023
15.0.0 1,539 6/19/2023
14.5.2 5,584 2/28/2023
14.5.1 285 2/28/2023
14.5.0 305 2/28/2023
14.4.0 323 2/27/2023
14.3.2 790 2/17/2023
14.3.0 300 2/17/2023
14.2.1 17,911 12/21/2022
14.2.0 329 12/21/2022
14.1.0 357 12/21/2022
14.0.0 2,644 11/9/2022
13.9.4 36,085 8/24/2022
13.9.3 1,780 7/28/2022
13.9.2 546 7/27/2022
13.9.1 533 7/27/2022
13.9.0 521 7/27/2022
13.8.3 637 7/26/2022
13.8.2 575 7/20/2022
13.8.1 524 7/20/2022
13.8.0 885 6/29/2022
13.7.1 662 6/20/2022
13.7.0 529 6/20/2022
13.6.0 1,604 4/30/2022
13.5.0 810 4/6/2022
13.4.0 2,361 2/24/2022
13.3.1 1,242 2/4/2022
13.3.0 734 1/12/2022
13.2.0 547 1/11/2022
13.1.0 1,165 1/9/2022
13.0.0 420 1/7/2022
12.0.0 1,526 11/22/2021
11.0.0 582 11/22/2021
10.8.1 1,068 11/14/2021
10.8.0 2,938 11/9/2021
10.7.1 1,956 9/26/2021
10.7.0 4,766 6/28/2021
10.6.0 528 6/28/2021
10.5.0 531 6/28/2021
10.4.2 453 6/28/2021
10.4.1 513 6/28/2021
10.4.0 507 6/28/2021
10.3.0 519 6/28/2021
10.2.0 518 6/28/2021
10.1.0 524 6/11/2021
10.0.0 501 6/9/2021
9.3.0 659 5/18/2021
9.2.0 2,467 1/18/2021
9.1.2 692 12/14/2020
9.1.1 586 12/14/2020
9.1.0 528 12/8/2020
9.0.0 661 11/10/2020
9.0.0-beta.2 368 9/15/2020
9.0.0-beta.1 410 9/14/2020
8.5.0 1,588 8/19/2020
8.4.0 2,042 7/8/2020
8.3.0 966 6/22/2020
8.2.1 716 5/25/2020
8.2.0 629 5/24/2020
8.0.0 610 5/22/2020
7.0.1 638 5/14/2020
7.0.0 649 5/9/2020
6.5.0 651 4/29/2020
6.4.0 1,582 3/20/2020
6.3.0 822 3/5/2020
6.2.4 701 3/3/2020
6.2.3 725 2/27/2020
6.2.2 718 2/18/2020
6.2.1 655 2/18/2020
6.2.0 680 2/18/2020
6.1.0 770 12/5/2019
6.0.1 644 12/4/2019
6.0.0 628 12/3/2019
5.1.0-beta.1 371 11/17/2019
5.0.0 1,982 10/13/2019
4.0.1 701 10/10/2019
4.0.0 675 9/24/2019
4.0.0-beta.1 405 9/19/2019
3.2.0 804 8/26/2019
3.1.0 816 7/25/2019
3.1.0-beta.4 395 7/23/2019
3.1.0-beta.3 393 7/23/2019
3.1.0-beta.2 392 7/23/2019
3.1.0-beta.1 392 7/20/2019
3.0.0 770 7/19/2019
3.0.0-beta.17 397 7/19/2019
3.0.0-beta.16 389 7/18/2019
3.0.0-beta.15 377 7/18/2019
3.0.0-beta.13 390 7/18/2019
3.0.0-beta.12 393 7/18/2019
3.0.0-beta.11 393 7/18/2019
3.0.0-beta.10 400 7/17/2019
3.0.0-beta.9 401 7/16/2019
3.0.0-beta.8 392 7/15/2019
3.0.0-beta.7 399 7/15/2019
3.0.0-beta.6 399 7/15/2019
3.0.0-beta.5 393 7/15/2019
3.0.0-beta.4 389 7/13/2019
3.0.0-beta.3 389 7/13/2019
3.0.0-beta.1 568 7/12/2019
2.2.0 859 7/11/2019
2.2.0-beta.1 412 7/9/2019
2.1.0 822 7/9/2019
2.1.0-beta.1 403 7/9/2019
2.0.0 831 7/8/2019
2.0.0-beta.5 396 7/5/2019
2.0.0-beta.4 387 7/4/2019
2.0.0-beta.3 393 7/4/2019
2.0.0-beta.2 395 7/3/2019
2.0.0-beta.1 396 7/3/2019
1.2.1 814 7/2/2019
1.2.0 804 7/2/2019
1.1.0 815 7/2/2019
1.0.0 803 6/20/2019
0.22.0 802 6/18/2019
0.21.0 791 6/17/2019
0.20.0 790 6/14/2019
0.19.0 768 6/14/2019
0.18.0 798 6/12/2019
0.17.0 838 6/11/2019
0.16.0 827 6/11/2019
0.15.0 838 6/7/2019
0.14.0 811 6/3/2019
0.13.0 811 6/3/2019
0.12.0 840 6/3/2019
0.11.0 845 6/2/2019
0.10.0 817 5/29/2019
0.9.1 817 5/29/2019
0.9.0 859 5/20/2019
0.8.0 843 5/17/2019
0.7.1 815 5/16/2019
0.7.0 823 5/16/2019