dot ef-要执行的应用程序不存在C:\ Users \

问题描述 投票:0回答:1

我想使用.NET Core实体框架。但是由于错误我无法:

dotnet ef
The application to execute does not exist: 
'C:\Users\Curso\.dotnet\tools\.store\dotnet-ef\2.1.14-servicing-32113\dotnet-ef\2.1.14-servicing-32113\tools\netcoreapp2.1\any\dotnet-ef.dll'.

“错误消息截图”“ >>

“错误消息截图2”

我想使用.NET Core实体框架。但是由于错误,我无法执行以下操作:dotnet ef执行的应用程序不存在:'C:\ Users \ Curso \ .dotnet \ tools \ .store \ dotnet-ef \ 2.1.14-servicing-32113 \。 。

c# .net entity-framework core
1个回答
1
投票

您需要安装dotnet-ef工具,最好是全局安装,以便可以在任何地方运行它。您可以从cmd或Powershell终端或您正在使用的任何终端上运行此命令:

© www.soinside.com 2019 - 2024. All rights reserved.