tags:

views:

27

answers:

1

I have a big project and I changed the name of 1st form from "Form1" to "WebBrowser", now I It gives me following error.

The type or namespace 'Form1' could not be found (are you missing a using directive or an assembly reference?)

I cannot even change the name back to Form1. it says cannot find WebBrowser.cs on disk, it is renamed or deleted from the disk. What I should do, I have a submission tomorrow.

Thanks

+1  A: 

Change every reference for Form1 to WebBrowser.

You can double click on the error in your Error List and change it.

rahul
in project or in solution folder or both
Ani
@Rahul Now it also says: Unable to create a manifest resource name for "WebBrowser.resx". Could not find file 'C:\Documents and Settings\default\Desktop\C#\web_browser\web_browser\WebBrowser.cs'. web_browser
Ani
still same error..
Ani
Delete the current form and try creating a new form with the same name and copy all the contents to the new form.
rahul