Moved to ef 4.3 with
AutomaticMigrationsEnabled = true;
In web.config have the following settings:
<appSettings configSource="appSettings.config" />
<connectionStrings configSource="connectionStrings.config" />
In Package Manager Console execute
update-database -verbose
and got the following error:
System.Configuration.ConfigurationErrorsException: Unable to open configSource file 'connectionStrings.config'
The error is understandable: it tries to open connectionStrings.config file from the working directory which is not the root project directory where connectionStrings.config file exists.
If connectionStrings.config and appSettings.config content to be moved to the web.config all works like a charm.
Is it a bug a it can be solved somehow?
Seems like this error was fixed in 4.3.1.