Quote:
Originally posted by xucaen
then the only way to do it is to comment out one of the Main methods so that the other can run. The language simply does not allow two main methods and there's nothing you can do to change that.
Jim
This setting in the project properties dialog must be set if moreQuote:
From the project properties dialog
Startup Object
The name of the class that contains the Main method that you
want called on program startup. The ( Not set ) option is valid if
there is only one Main.
than 1 class has a Main. Several classes can have a Main but
only one of them can be set as the Startup Object. If you have
more than one Main and the Startup Object is not set than you'll
get this error.
OP. What version of the .net compiler are you using and did you
set the startup object ?
