Can't run code first migrations using migrate.exe
问题 I'm trying to update a database on a test system. When I run update-database in visual studio things work as expected. When I deploy and then try to run on a test machine: Migrate.exe CodeFirst.dll /startupConfigurationFile="..\web.config" I get: no connection string named xxx could be found in the application config file ...even though there is a connection string with that name in the web.config. There is only one .config file, there isn't a config file for the dll that I'm running against