确定工程中Program.cs文件中是否存在
namespace xxxx
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
             //......
        }
    }
}