So I am getting into game development, learning C# for Godot. I figured I should learn C#. I need VS Code and .NET for that to work. I tried installing .NET as instructed on the site. I think I might have accidentally mixed the .NET packages from multiple package repositories.
Whenever I tried with the C# Dev Kit I get this message.
The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info/bin/sh: 1: dotnet: not found
/bin/sh: 1: dotnet: not found. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
I went through the manual to see what packages I needed to either un or reinstall. So I typed chmod +x ./dotnet-install.sh
to see if that did anything.I got
.NET Core SDK with version '8.0.303' is already installed.
But the really weird thing is that I tried to check if dotnet-sdk
was recognized, but it was not.
I even tried to uninstall .NET but that did not even work. Can someone give me a thorough explanation on what is going on?