我一直在努力执行EF Migrate.exe.
我的解决方案有几个项目.迁移和实体存在于项目数据中.控制器和视图存在于Web中.
我尝试使用migrate.exe - 但是我正在努力让第一个参数(程序集)被接受.文件说:
程序集:指定包含迁移配置类型的程序集的名称.
我试过了:
migrate.exe"MySolution\DataProject\bin\Debug\Data.dll"
ERROR: Could not load file or assembly 'D:\\MySolution\\Data\\bin\\Debug\\Data' or one of its dep
endencies. The given assembly name or codebase was invalid. (Exception from HRES
ULT: 0x80131047)
Run Code Online (Sandbox Code Playgroud)
什么出了什么问题?