© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•17mo ago•
144 replies
warriormaster

✅ Fedora 40, dotnet 8 sdk, can’t use debugging tools in vscode.

Hi, has anyone else had a similar issue with dotnet on Fedora 40 or in general?


Could not execute because the specified command or file was not found.
Possible reasons for this include:
• You misspelled a built-in dotnet command.
• You intended to execute a .NET program, but dotnet-/home/username/GodotEngine/Godot_v4.3-stable_mono_linux_x86_64/Godot_v4.3-stable_mono_linux.x86_64 does not exist.
• You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.”
Could not execute because the specified command or file was not found.
Possible reasons for this include:
• You misspelled a built-in dotnet command.
• You intended to execute a .NET program, but dotnet-/home/username/GodotEngine/Godot_v4.3-stable_mono_linux_x86_64/Godot_v4.3-stable_mono_linux.x86_64 does not exist.
• You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.”


Haven’t found much online about this problem. I was only able to find solutions related to dotnet-ef which didn’t resolve my issue. I can’t start debugging my C# code due to this error. Path to executable is correct and when I run dotnet —version command in terminal, it outputs sdk’s version which is 8.0.108.
This happens both in vscode and when just running through the terminal.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

VSCode set dotnet sdk directory
C#CC# / help
16mo ago
dotnet 8
C#CC# / help
3y ago
Can't install tools with `dotnet tool` command
C#CC# / help
3y ago
✅ dotnet add reference in vscode
C#CC# / help
3y ago