Sql Server 2019 Localdb Fix

// Get the LocalDB interface LocalDB localDB = new LocalDB(); localDB.CreateInstance("MyAppDB", "v15.0"); localDB.StartInstance("MyAppDB");

You can manage LocalDB instances using the command-line tool SqlLocalDB.exe . Open a Command Prompt or PowerShell to use these commands: sql server 2019 localdb