我有一个大项目,我将第一个表单的名称从“Form1”更改为“WebBrowser”,现在我给了我以下错误。
The type or namespace 'Form1' could not be found (are you missing a using directive or an assembly reference?)
我甚至无法将名称更改回Form1。它说在磁盘上找不到WebBrowser.cs,它被重命名或从磁盘中删除。我应该做什么,明天我有提交。
由于
答案 0 :(得分:1)
将Form1
的每个引用更改为WebBrowser
。
您可以双击错误列表中的错误并进行更改。