© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
Mek

✅ Not sure why I'm getting this error

Code: https://pastebin.com/2u9HCy8U
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point. [C:\...\MakeMyProject.csproj]
The build failed. Fix the build errors and run again.
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point. [C:\...\MakeMyProject.csproj]
The build failed. Fix the build errors and run again.
but yet when I build the project, there are no errors. There are no errors on the scripts themselves. I know it's using Main somehow but I can't figure out how. I know it's using it somehow because it goes through the CheckSetup() function and runs the ShowWelcomeScreen() function in the terminal window that opens.
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

Similar Threads

✅ Not sure why im getting this error
C#CC# / help
17mo ago
Why I'm getting this error
C#CC# / help
2y ago
✅ anyone know why I'm getting this error
C#CC# / help
2y ago
Why I'm having this error
C#CC# / help
2y ago