description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Compiler Error CS1557 |
Compiler Error CS1557 |
07/20/2015 |
|
|
1615e028-aeb7-4788-bd87-8e49e502d698 |
Cannot use 'class' for Main method because it is in a different output file
The MainEntryPoint compiler option was specified for one output file in a multi-output file compilation. However, the class was not found in the source code for the /main compilation; it was found in a source code file for one of the other output files in the compilation.