我的任务是承担一个旧项目(2019),但我们遇到了错误。
项目规格:
Unity Editor 2019.4.4f1
Project format *legacy*
VSCode as IDE
.NET Framework 4.7.1
错误本身:
A classic *The type or namespace 'Equipment' doesn't exist.* on the following line `using Equipment.MVCController`. The particularity here being that I get this error for a new file written by my coworker, but not older ones in the same folder calling the same namespace.
一些附录: 这是两个文件标题的图像。
DroneDisplay.cs
行所在的 using Equipment.MVCController
文件,以及新的 Blockchain.cs
一个:
这是文件层次结构的图像。
Equipment.MVCController
包含在 EquipmentController.cs
、EquipmentDroneController.cs
和 EquipmentSuitController.cs
文件中。
我试过了,没有成功:
Unity、.NET 和 C# 的新手,我可能遗漏了一些明显的东西。