C
C#2y ago
Deloxco

✅ errror on vsCode

each time i use code runner it givs me this error. Couldn't find a project to run. Ensure a project exists in C:\Users\Lucky12\Desktop\C# App, or pass the path to the project using --project.
4 Replies
TheRanger
TheRanger2y ago
you need to create a C# project first u can go to a folder and type dotnet new console in vs code's terminal to create a console application
JakenVeina
JakenVeina2y ago
the C# compiler requires a project definition to do anything not only does the project tell the compiler WHAT source code files it needs to compile, it defined a lot of different options for HOW they are compiled if you are new to C#, you should use Visual Studio, if at all possible, not VS Code VS Code assumes you have a fair amount of proficiency in C# already, in order to configure VS Code to interop with all the various tools that you need to do C# development Visual Studio is already tailor-made for C# development
Deloxco
DeloxcoOP2y ago
that works thx
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server