Program 'output file' does not have an entry point defined
No Main method was found in the code that produces an executable file.
The following sample generates CS5001:
namespace x { public class a { // uncomment the following line to resolve CS5001 // public static void Main(){} } }