Home > OS >  Choose LocalDB version in Visual Studio
Choose LocalDB version in Visual Studio

Time:03-21

I'm developing a project in VS2022 with EF6, using localDB as default instance.

My DB is being created code-first and since I have multiple versions of localDB installed, for a matter of compatibility, I wanted the database was created using the 2014 (12.0. 4100.1) version. But it is always created in the 2019 version of LocalDB.

Is there any way to specify the LocalDB Version in the project before the DB creation or at any other point?

CodePudding user response:

Use SQL Server Express instead and pick the desired installer

  • Related