billy_boy
asked on
error CS5001: does not have an entry point defined
Hello all,
i keep getting the following when tryong to build a c# project.
error CS5001: Program 'C:\Inetpub\wwwroot\mysite \obj\Debug \mysite.ex e' does not have an entry point defined
Can you help?
i keep getting the following when tryong to build a c# project.
error CS5001: Program 'C:\Inetpub\wwwroot\mysite
Can you help?
You need to declare a Main method in one of your classes.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
your right jigit, but how do you change the project type to c#.net web app?
right click on your project in the solution explorer, pick properties and change the output type you see there
billy_boy, thanks for accepting my answer. May I ask why only B grade? You can fiil feedback on my answer and express your thoughts. Thanks!
ASKER
sorry mate it was late and I've been working like a dog!...i couldnt work out how to change the prject properties to a C# application, so I started again and rebuilt.....is there an easier way?
Comment from tomvergote
Date: 11/25/2004 07:34AM PST
right click on your project in the solution explorer, pick properties and change the output type you see there
:)
Date: 11/25/2004 07:34AM PST
right click on your project in the solution explorer, pick properties and change the output type you see there
:)