Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net dotnet工具版本安装中的问题_.net_Installation_Entity Framework Core_Nuget_Version - Fatal编程技术网

.net dotnet工具版本安装中的问题

.net dotnet工具版本安装中的问题,.net,installation,entity-framework-core,nuget,version,.net,Installation,Entity Framework Core,Nuget,Version,我正在学习如何建立一个应用程序与ASPNET核心和角度。我正在使用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: Una

我正在学习如何建立一个应用程序与ASPNET核心和角度。我正在使用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. (...)
如何解决此问题?

检查您的安装-->dotnet--info