© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
20 replies
kampfmodz

Docker build failing

Hey so i am getting
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [project]
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [project]
when running the dockerfile which i generated with VS. I am using .net 6.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Docker build cache
C#CC# / help
2y ago
VS failing to build
C#CC# / help
3y ago
❔ ✅ Certificates in Docker Build
C#CC# / help
3y ago
✅ docker build with dotnet 8
C#CC# / help
3y ago