I just install EF 4.3 and try to upgrade my project using migration. however, I am having problems trying to run add-migration initial in my project using the package manager console.
Now it throws any exception No connection string named 'MyApplicationEntities' could be found in the application config file.
Now my configuration has it all
<connectionStrings> <add name="MyApplicationEntities" connectionString="metadata=res://*/DataModel.csdl|res://*/DataModel.ssdl|res://*/DataModel.msl;provider=System.Data.SqlClient;provider connection string="data source=localhost;initial catalog=MyApplicationEntitiesDB;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
I am not sure what the problem is: is it a bug in EF 4.3 or is there something that I am not doing right.
I thought this post solved the problem, but not quite.
Anyone got a response.
Appreciate Sanj.
Sanj Jun 11 2018-12-12T00: 00Z
source share