我正在学习如何使用ASPNET Core和Angular构建应用程序。我正在使用vscode。
我的dotnet版本为3.1.402
我从nuget gallery安装了Microsoft.EntityFrameworkCore.Sqlite Version =“ 3.1.4”,然后尝试使用以下命令将dotnet工具安装为版本3.1.4时:
dotnet tool install --global dotnet-ef --version 3.1.4
无法正常工作,给我这个错误:
error NU1100: Unable to resolve 'dotnet-ef (>= 3.1.4)' for '.NETCoreApp,Version=v3.1'.
error NU1100: Unable to resolve 'dotnet-ef (>= 3.1.4)' for '.NETCoreApp,Version=v3.1/any'.
The tool package could not be restored. (...)
我该如何解决这个问题?