Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0017
Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.