我想更新数据库,但是当我在软件包管理器控制台中运行:'update-datebase'或命令:'add-migiration'时,它会给出此错误
Failed to load the dll from
[C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7\hostpolicy.dll],
HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from
[C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7]
已完成的事情:
更新nucket包