'I do not find localdb in VS 2022 Community
I have a test .NET 6.0 project where I want to use localdb with EF code first. add-migration and update-database run with no problem but I do not find localdb in my project. When I want to creat localdb in Server Explorer it gives me an error. I installed next NuGet packages:
- Microsoft.EntityFrameworkCore 6.0.0
- Microsoft.EntityFrameworkCore.SqlServer 6.0.0
- Microsoft.EntityFrameworkCore.Tools 6.0.0
Connection string:
"ConnectionStrings": { "DefaultConnection": "Server=(localdb)\mssqllocaldb;Database=DB;Trusted_Connection=True;MultipleActiveResultSets=true" }
What did happen with Visual Studio?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
