ImaCircularSaw
asked on
does not contain a static 'Main' method suitable for an entry point
Hi All,
I left visual studio on over night and a project that was building is no longer working. I get the following error:
"Program 'C:\<PATH>\PhoneApplicatio n\obj\Debu g\PhoneApp lication.e xe' does not contain a static 'Main' method suitable for an entry point"
Here is the begining of my form1.cs file:
Does anyone know how this might be fixed?
Thanks.
I left visual studio on over night and a project that was building is no longer working. I get the following error:
"Program 'C:\<PATH>\PhoneApplicatio
Here is the begining of my form1.cs file:
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Data.SqlClient;
using System.Data.Sql;
namespace PhoneApplication
{
public partial class Form1 : Form
{
#region Set Variables
//OM Commands
public string strChdnrc = "";
public string strChtrfc = "";
public string strCalf0 = "";
public string strCalf1 = "";
public string strAllComm = "";
//Input variables
public string strFirstname = "";
public string strSurname = "";
public string strFloorPort = "";
Does anyone know how this might be fixed?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are the properties on the file set to Compile ?
ASKER
The program.cs file had been removed from the project.
Thanks!
Thanks!