You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully installed at global level by following command. dotnet tool install --global dotnet-deb
but failed to run it at project level by this command. dotnet deb install
Error:
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-deb 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.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ dotnet --version
6.0.201
$ uname -r
5.10.60.1-microsoft-standard-WSL2
$ cat /proc/version
Linux version 5.10.60.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Aug 25 23:20:18 UTC 2021
I have successfully installed at global level by following command. dotnet tool install --global dotnet-deb
Define successfully. I have successfully installed dotnet-deb, but then, the command output was:
root@c1bbe48cf612:/source# dotnet tool install --global dotnet-debTools directory '/root/.dotnet/tools' is not currently on the PATH environment variable.If you are using bash, you can add it to your profile by running the following command:cat << \EOF >> ~/.bash_profile
# Add .NET Core SDK toolsexport PATH="$PATH:/root/.dotnet/tools"EOFYou can add it to the current session by running the following command:export PATH="$PATH:/root/.dotnet/tools"You can invoke the tool using the following command: dotnet-debTool 'dotnet-deb' (version '0.1.220') was successfully installed.
Line
You can invoke the tool using the following command: dotnet-deb
implicitly expects that the message before it (i.e. the not-in-PATH message) wasn't triggered.
I have successfully installed at global level by following command.
dotnet tool install --global dotnet-deb
but failed to run it at project level by this command.
dotnet deb install
Error:
.Netcore version: .Net5.0
Ubuntu: 18.04.6 TLS
VSCODE : 1.64.1
OS: Linux x64 5.4.0-96-generic
The text was updated successfully, but these errors were encountered: