Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exec dotnet <tool> resolution failure ~/.dotnet/tools/ not found in ${PATH}, error thrown #11

Closed
sar opened this issue Sep 25, 2021 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@sar
Copy link
Owner

sar commented Sep 25, 2021

Command dotnet <tool> does not resolve default ${PATH}=/home/${USER}/.dotnet/tools/:${PATH}, failure thrown to console.

$ dotnet ef database update 
Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-ef does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

Resolution:

  • Include default export ${PATH}=~/.dotnet/tools/:${PATH} to shell config
@sar sar added the invalid This doesn't seem right label Sep 25, 2021
@sar sar self-assigned this Sep 25, 2021
@sar sar closed this as completed Jan 17, 2023
@sar
Copy link
Owner Author

sar commented Jan 17, 2023

Merged upstream changeset in commit 937c826

@sar sar closed this as completed Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant