none
c# express edition or visual studio RRS feed

  • Question

  • I wanted to debug a program but it showed me error cs5001 (.exe does contain a static 'Main  method suitable for an entry point.for this reason i have gone to my program properties and to fix startup object but there written( not set)How can i set my startup object?

    .

    Wednesday, December 1, 2010 6:27 PM

Answers

  • In VS (I think it should be the same in C# Express Edition)

    Project-><porject name>Properties...

    In the Application tab there is a drop down list for Startup Object. Choose the correct object.

    • Proposed as answer by Larcolais Gong Friday, December 3, 2010 8:33 AM
    • Marked as answer by Larcolais Gong Friday, December 10, 2010 2:07 AM
    Thursday, December 2, 2010 1:04 AM