でef 4.3に移動
AutomaticMigrationsEnabled = true;
次web.config
の設定があります。
<appSettings configSource="appSettings.config" />
<connectionStrings configSource="connectionStrings.config" />
パッケージ マネージャー コンソールで実行します。
update-database -verbose
次のエラーが発生しました:
System.Configuration.ConfigurationErrorsException: Unable to open configSource file 'connectionStrings.config'
connectionStrings.config
エラーは理解できます。ファイルが存在するルート プロジェクト ディレクトリではない作業ディレクトリからファイルを開こうとしconnectionStrings.config
ます。
connectionStrings.config と appSettings.config のコンテンツを web.config に移動すると、すべて魅力的に機能します。
それはバグですか、それはどうにかして解決できますか?