【问题请教】跟着书本编程到第17.7.3章,执行Add-Migration InitialCreate,报异常
跟着书本编程到第17.7.3章, 当执行Add-Migration InitialCreate时,报异常: 【Add-Migration : 无法将“Add-Migration”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。】 然后我试着通过安装.NetEntityFrameworkcore.tools,再执行Add-Migration InitialCreate,报异常【The specified deps.json [E:\VisualStudio_Repo\MockSchoolManagement\MockSchool\MockSchoolManagement\MockSchoolManagement.deps.json] does not exist】; 然后我找到MockSchoolManagement.deps.json文件,发现它位于 项目/bin/debug/netcoreapp3.1文件夹下,于是我试着把该文件复制一份到上述报异常所提示的项目目录中,再执行Add-Migration InitialCreate,又报异常【 An assembly specified in the application dependencies manifest (MockSchoolManagement.deps.json) was not found: package: 'MockSchoolManagement', version: '1.0.0' path: 'MockSchoolManagement.dll'】;