© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
17 replies
John Stewart

✅ Can't get VSCode to run a C# Project

Hello,

In my upcoming class, I need to set up my Development environment, which includes a .NET 6.0 Framework as seen here (https://byui-cse.github.io/cse210-ww-course/unit01/dev-environment/)

However, no matter what I do, I cannot get the program to run.
I've installed both the .NET 6.0 and 8.0 SDKs and Runtimes
I've reinstalled the VSCode Extensions multiple times (including the experimental versions)
I manually went through all the files and changed 6.0 to 8.0

However, the following error appears, even after changing the dotnet path to the x64 installation location:

The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'restore' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found

What am I doing wrong?
Development Environment
Microsoft
.NET Downloads (Linux, macOS, and Windows)
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.
.NET Downloads (Linux, macOS, and Windows)
Select which .NET version to use - .NET
Learn how .NET automatically finds and chooses runtime versions for your program. Additionally, this article teaches you how to force a specific version.
Select which .NET version to use - .NET
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

how can i run multiple projects in vscode
C#CC# / help
2y ago
✅ vscode c# dev tools is there a way to run faster
C#CC# / help
9mo ago
❔ VScode doesn't recognize C# files
C#CC# / help
3y ago