EF Migrations error: No connection string named 'MpDb' could be found in the application config file. solution: update-database 命令查找连接字符是在当前启动项目中找的 确保启动项目中connectiongString配置存在.