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
I received the Command 'dotnet' not found, but can be installed with error #60438
Comments
@rbhanda can you help? |
You are trying to install .NET Core using Package Manager.
I was able to install .NET Core SDK 3.1 After I ran Output:
|
The links and instructions that you have described are exactly what I have followed and mentioned in my first comment. Am I missing something? |
Okay now I've installed the SDK from Snap based on this subarticle, then I type
I can now run dotnet commands from terminal. Next I installed the C# extension for VS Code then encountered this problem:
What am I missing here? Please help. I'm only one step away from starting coding |
I am not sure why you are getting this error but are the steps mentioned on this comment or on stackoverflow useful? |
Stack Overflow answers help! Since I installed .NET from Snap, I've had to launch VS Code with this command:
Will .NET 5.0 GA come with full support for Ubuntu? Means no need for a workaround like this anymore |
This issue seems to be resolved. @rbhanda can you answer the last question and close this issue? |
Ping again @rbhanda |
It looks like the original issue dotnet/sdk#10403 is still open. I will follow up on this and let you know if this is resolved |
i had the same issue. I think I had added the wrong path in the e first place installed the script: []($ ./dotnet-install.sh -c Current
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
dotnet-install: .NET Core SDK version 5.0.207 is already installed.
dotnet-install: Adding to current process PATH: `/home/tesla/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
) I added env variable
I tested the version
|
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue DetailsProblem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
then in the new terminal I run the following command:
try to check if .NET Core is already installed:
Any help will be appreciated. Thank you
|
You saved my week! I have been working on this for days holy shit thank you!!! |
Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: Ubuntu 18.04.5 LTS
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I followed the instructions on the link below:
2.1. Add Microsoft package signing key and add package repository
2.2. Install the SDK
then in the new terminal I run the following command:
try to check if .NET Core is already installed:
Any help will be appreciated. Thank you
The text was updated successfully, but these errors were encountered: