Skip to main content
Answer

When publish customization

  • August 30, 2023
  • 2 replies
  • 74 views

Forum|alt.badge.img

When publish customization show error like this 

\App_RuntimeCode\InventoryItemMaint.cs(34): error CS0101: The namespace 'PX.Objects.IN' already contains a definition for 'InventoryItemMaint_Extension'

Best answer by palbores

Maybe there is already a class name InventoryItemMaint_Extension. Better try to rename the customization that extend the graph named InventoryItemMaint to something like InventoryItemMaintExt or InventoryItemMaint_Ext to avoid conflict of naming the class.

2 replies

palbores
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • Answer
  • August 30, 2023

Maybe there is already a class name InventoryItemMaint_Extension. Better try to rename the customization that extend the graph named InventoryItemMaint to something like InventoryItemMaintExt or InventoryItemMaint_Ext to avoid conflict of naming the class.


darylbowman
Captain II
Forum|alt.badge.img+15

You could also change the namespace of the package in order to keep its contents separate from the rest, but this is more complicated and can present other challenges.