Edit

Share via


Compiler Error CS1559

Cannot use 'object' for Main method because it is imported

An invalid class was specified to the StartupObject compiler option; the class cannot be used as a location for the Main method.