dotnet ef not found in .NET Core 3

后端 未结 8 1833
囚心锁ツ
囚心锁ツ 2020-12-02 04:35

I\'m following the docs in order to create an initial migration. When I execute dotnet, I get the help section, meaning that the PATH works properly.

Th

8条回答
  •  再見小時候
    2020-12-02 05:08

    Global tools can be installed in the default directory or in a specific location. The default directories are:

    • Linux/macOS ---> $HOME/.dotnet/tools

    • Windows ---> %USERPROFILE%\.dotnet\tools

    If you're trying to run a global tool, check that the PATH environment variable on your machine contains the path where you installed the global tool and that the executable is in that path.

    Troubleshoot .NET Core tool usage issues

提交回复
热议问题