The type or namespace cannot be found (are you missing a using directive or an assembly reference?)

前端 未结 5 938
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 14:45

I get the following error when I try to compile my C# program:

The type or namespace name \'Login\' could not be found (are you missing a using directive or an

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-11 15:45

    This error comes because compile does not know where to find the class..so it occurs mainly when u copy or import item ..to solve this .. 1.change the namespace in the formname.cs and formname.designer.cs to the name of your project .

提交回复
热议问题