Foxes
Foxes

Reputation: 69

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

I'm learning Acumatica ERP follow course T100_AcumaticaFrameworkIntro_5_0. I can add new class in project and using PX object. But when i build my project i geting error :

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

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

Error capture

Please help me.

Upvotes: 1

Views: 2009

Answers (1)

Patrick Chen
Patrick Chen

Reputation: 1066

You need to add a reference to the PX.Data, PX.Common, & PX.objects files (located in your ERP's bin folder) to your custom project.

Upvotes: 1

Related Questions