C
C#•9mo ago
Bebbesi

VS Error

Hello, guys I'm pretty new to the world of C# and I tried to create a simple C# file but when I try to execute it give me this error. Does anyone know how to fix this issue? Thanks in advance
No description
9 Replies
SinFluxx
SinFluxx•9mo ago
A Class Library is not a project type you can run on its own, you'd need to create a new project and pick a different type
Bebbesi
BebbesiOP•9mo ago
Like a console app?
SinFluxx
SinFluxx•9mo ago
yeah that would do it 🙂
SinFluxx
SinFluxx•9mo ago
you should see two though:
No description
SinFluxx
SinFluxx•9mo ago
make sure you pick the top one
Bebbesi
BebbesiOP•9mo ago
Okay thanks I will try that
SG97
SG97•9mo ago
Iirc you can just change the project type from class library to console application
Pobiega
Pobiega•9mo ago
Sure can, and just add an entry point But making a new project is prob easier
SG97
SG97•9mo ago
True true
Want results from more Discord servers?
Add your server