8000 dotnet-ef not available after successful restore · Issue #11820 · dotnet/sdk · GitHub
[go: up one dir, main page]

Skip to content
dotnet-ef not available after successful restore #11820
Open
@solazs

Description

@solazs

We have an interesting issue on one of our build agents regarding dotnet ef cli tool. The error only occurs on one of our agents, however I cannot figure out what's off.

Running dotnet tool restore in my project directory outputs

Tool 'dotnet-ef' (version '3.1.4') was restored. Available commands: dotnet-ef

However when trying to run dotnet-ef I get an error:

$ dotnet ef
Run "dotnet tool restore" to make the "dotnet-ef" command available.
$ dotnet dotnet-ef
Run "dotnet tool restore" to make the "dotnet-ef" command available.
$ dotnet ef --version
Run "dotnet tool restore" to make the "dotnet-ef" command available.
$ dotnet dotnet-ef --version
Run "dotnet tool restore" to make the "dotnet-ef" command available.
$ dotnet tool run dotnet-ef --version
Run "dotnet tool restore" to make the "dotnet-ef" command available.
Usage: dotnet tool run [options] <COMMAND_NAME> [[--] <additional arguments>...]]

Arguments:
  <COMMAND_NAME>   The command name of the tool to run.

Options:
  -h, --help   Show command line help.
Additional Arguments:
  Arguments passed to the application that is being run.

Further technical details

dotnet-ef version: 3.1.4
dotnet --version: 3.1.300
Target framework: .NET Core 3.1.4
Operating system: Ubuntu 18.04.1 LTS

I'll attach a verbose output from dotnet tool restore separately.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0