Build Acumatica project getting error: The type or namespace name 'PX' could not be found

Build Acumatica project getting error: The type or namespace name 'PX' could not be found

我正在按照课程 T100_AcumaticaFrameworkIntro_5_0 学习 Acumatica ERP。我可以在项目中添加新的 class 并使用 PX 对象。但是当我构建我的项目时出现错误:

错误 1 ​​找不到类型或命名空间名称 'PX'(是否缺少 using 指令或程序集引用?)

错误 2 找不到类型或命名空间名称 'PXGraph'(是否缺少 using 指令或程序集引用?)

Error capture

请帮帮我

您需要将对 PX.Data、PX.Common 和 PX.objects 文件(位于 ERP 的 bin 文件夹中)的引用添加到您的自定义项目。