Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4439

Microsoft .NET Does not seem to work for VS Code on Ubuntu Linux 22.04.4 LTS

$
0
0

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?


Viewing all articles
Browse latest Browse all 4439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>