damienbod / AspNetCoreLocalization

Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples
http://damienbod.com/2015/10/21/asp-net-5-mvc-6-localization/
MIT License
251 stars 101 forks source link

connectionstring error #47

Open samarmir opened 6 years ago

samarmir commented 6 years ago

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"

damienbod commented 6 years ago

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