AspNetCoreLocalization icon indicating copy to clipboard operation
AspNetCoreLocalization copied to clipboard

connectionstring error

Open samarmir opened this issue 8 years ago • 1 comments

For some reason this project cannot run the dotnet ef database update Localization --context localizationModelContext It gives an error Keyword not supported: 'initial catalog'. or Keyword not supported: 'server' according the connectionstring you use.

"ConnectionString": "Server=(localdb)\mssqllocaldb;Database=LocalizationDb;Trusted_Connection=True;MultipleActiveResultSets=true"

"providerName": "System.Data.SqlClient"

"ConnectionString": "Data Source=(localdb)\mssqllocaldb;Initial Catalog=LocalizationDb;Trusted_Connection=True;MultipleActiveResultSets=true", "providerName": "System.Data.SqlClient"

samarmir avatar Oct 24 '17 23:10 samarmir

@samarmir This looks like a breaking change in the EF Core migrations. The factory designer class is now required.

damienbod avatar Oct 29 '17 06:10 damienbod