✅ VSCodium trying to get C# debugging working. .NET Core SDK error
Using VSCodium for Unity and want live debugging. .NET Core SDK dependency isn't working.
I've tried to fix this by following the install guide for Linux Ubuntu but I always get the same error.

35 Replies
@[8LU3][WFAT] Wind iirc the .NET Core debugger only works with the offical build of VSCode.
(It's a licensing thing, not a technical thing 😐)
actually wait, that's a completely different error
@[8LU3][WFAT] Wind what does
dotnet --info
in a terminal give you?.NET SDK:
Version: 9.0.300
Commit: 15606fe0a8
Workload version: 9.0.300-manifests.c678e91b
MSBuild version: 17.14.5+edd3bbf37
Runtime Environment:
OS Name: linuxmint
OS Version: 22.1
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.300/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.5
Architecture: x64
Commit: e36e4d1a8f
.NET SDKs installed:
9.0.300 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
dotnet command - .NET CLI
Learn about the dotnet command (the generic driver for the .NET CLI) and its usage.
Microsoft
Browse all .NET versions to download | .NET
Official .NET downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
interesting
what about in vscode's own terminal?
2025-05-26 23:05:23.715 [info] The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info
/bin/sh: line 1: dotnet: command not found
/bin/sh: line 1: dotnet: command not found
. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
2025-05-26 23:05:37.753 [info] The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info
/bin/sh: line 1: dotnet: command not found
/bin/sh: line 1: dotnet: command not found
. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
C# by muhammad-sammy is the extension that has .NET as a dependency
does
dotnet --info
work in the vscode integrated terminal?will try

Seems to not, no.
probably PATH issues
Yeah that's what I imagined, but I'm unsure how to put .NET into a place where VScodium can use it
how did you install vscodium?
VScodium is installed by flatpak, could that be the issue?
did you by chance use flatpak or snap?
ah, yep
I'm pretty new to linux sorry :p
flatpak apps are sandboxed, they basically ship with their own mini-distro
yeah I tried using flatseal to give it access
but that didn't work
for dev tools, you're best off not using flatpak
what distro are you using?
Ubuntu Cinnamon
it has a software manager
but the software manager version of dotnet is only 8.0 and it doesn
doesn't seem to want to install
VSCodium appears to have an official deb repo https://vscodium.com/#use-a-package-manager-deb-rpm-provided-by-vscodium-related-repos
But you're going to run into issues trying to debug C# in Codium, because of how the official debugger is licensed, so I really recommend VSCode itself https://code.visualstudio.com/Download
As for getting the latest .NET, see https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-install?tabs=dotnet9&pivots=os-linux-ubuntu-2410
Download Visual Studio Code - Mac, Linux, Windows
Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.
Install .NET on Ubuntu - .NET
Demonstrates the various ways to install .NET SDK and .NET Runtime on Ubuntu. .NET is usually installed through APT.
VSCodium - Open Source Binaries of VSCode
Free/Libre Open Source Software Binaries of VSCode
wait you can run VSCode on linux?
Of course you can
I seem to remember the reason I got codium in the first place was because someone said VSCode wouldn't work
(you can also run Rider btw)
I'll take it one step at a time :p
but it's been a little while but I seem to remember the reason I found out about Vscodium was because someone said not to use VSCode on linux
Visual Studio doesn't, but Visual Studio Code does.
I may have erred
(classic microsoft branding moment)
okay thanks I will get VS Code (for now, rider)
if I have any problems I'll make another post
Soon: Visual Studio 365 With Copilot (For Teams) :KEKW:
personally i prefer Rider on all platforms, but VSC is good too
$ridergang
:rider: 🇬 🇦 🇳 🇬
But yeah, if a tutorial uses VSC, use VSC
yeah that's exactly it
new to Unity, linux and coding in general so I'm going to try and limit the number of variables I can mess up by doing things differently for now :p
Okay cheers guys
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View