【问题标题】:dotnet ef - The application to execute does not exist C:\Users\dotnet ef - 要执行的应用程序不存在 C:\Users\
【发布时间】:2020-03-25 08:06:40
【问题描述】:

我想使用 .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'.

【问题讨论】:

    标签: c# .net-core entity-framework-core


    【解决方案1】:

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

    dotnet tool install --global dotnet-ef 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-04
      相关资源
      最近更新 更多