✅ 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.
No description
35 Replies
jcotton42
jcotton425mo ago
@[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?
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
.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.
jcotton42
jcotton425mo ago
interesting what about in vscode's own terminal?
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
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
jcotton42
jcotton425mo ago
does dotnet --info work in the vscode integrated terminal?
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
will try
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
No description
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
Seems to not, no.
jcotton42
jcotton425mo ago
probably PATH issues
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
Yeah that's what I imagined, but I'm unsure how to put .NET into a place where VScodium can use it
jcotton42
jcotton425mo ago
how did you install vscodium?
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
VScodium is installed by flatpak, could that be the issue?
jcotton42
jcotton425mo ago
did you by chance use flatpak or snap? ah, yep
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
I'm pretty new to linux sorry :p
jcotton42
jcotton425mo ago
flatpak apps are sandboxed, they basically ship with their own mini-distro
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
yeah I tried using flatseal to give it access but that didn't work
jcotton42
jcotton425mo ago
for dev tools, you're best off not using flatpak what distro are you using?
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
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
jcotton42
jcotton425mo ago
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
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
wait you can run VSCode on linux?
Angius
Angius5mo ago
Of course you can
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
I seem to remember the reason I got codium in the first place was because someone said VSCode wouldn't work
Angius
Angius5mo ago
(you can also run Rider btw)
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
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
jcotton42
jcotton425mo ago
Visual Studio doesn't, but Visual Studio Code does.
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
I may have erred
jcotton42
jcotton425mo ago
(classic microsoft branding moment)
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
okay thanks I will get VS Code (for now, rider) if I have any problems I'll make another post
Angius
Angius5mo ago
Soon: Visual Studio 365 With Copilot (For Teams) :KEKW:
jcotton42
jcotton425mo ago
personally i prefer Rider on all platforms, but VSC is good too
Angius
Angius5mo ago
$ridergang
MODiX
MODiX5mo ago
:rider: 🇬 🇦 🇳 🇬
Angius
Angius5mo ago
But yeah, if a tutorial uses VSC, use VSC
[8LU3][WFAT] Wind
[8LU3][WFAT] WindOP5mo ago
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
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?