I don't know if this is just something i am doing wrong, but I was working
through a tutorial using Visual Studio and a C# windows application.
The first two actions I took after creation the new solution and project
were to:
1. Rename the Form1.cs file to the application name I had chosen, and
2. To rename Form1 to a new name.
I then added some other controls, saved the file, and attempted to do a
build. and got the error message:
"... The type or namespace name 'Form1' could not be found (are you missing
a using directive or an assembly reference?)"
In checking the source code I found that there was still a reference to
Form1
================
static void Main()
{
Application.Run(new Form1());
}
===========================
My thought is that under normal circumstances, changing the form property
through the properties window should have modified this reference, but it
did not.
Can someone please explain this? Am I doing something wrong?
nordloewe - 28 Mar 2005 15:53 GMT
hi, Henry!
i'm having exactly the same problem.
have you found out its cause and solution?
nordloewe