I have a customization I am working on, and it had an error that showed up when trying to publish it.
So, in order to work through this, I thought I would simply republish the rest of the packages, and leave that one out. But it doesn’t let me. I keep getting an error regarding the package.
I have tried to clear out caches and manually deleting files from the bin directory, but I still get the errors.
It fails with this error (there is no assembly for American216… But that customization is not part of what I am publishing. There is no need to be trying to load it. It is a stand alone package that is no longer published, and not referenced by anything, but Acumatica keeps looking for it? Why????) :
e2023-12-13 18:59:56.937] Validating Extensionse2023-12-13 18:59:56.937] Failed to load types from assembly American216, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null with message: Could not load file or assembly 'PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Here is the full result of my publish when I try to publish JUST the package provided by Acumatica in their Git Hub:
Publish Customization
o2023-12-13 18:59:19.212] Compiled projects: PXLineCostForAccrueo07.17.23],PXSpecialOrderCostPkgr07.17.23],ASGDoorCore22R2C10.02.23]
32023-12-13 18:59:19.349] Validation started.
d2023-12-13 18:59:19.427] Copying the website D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website
t2023-12-13 18:59:19.429] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ap\ap303000.aspx
p2023-12-13 18:59:19.430] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ap\ap303000.aspx.cs
c2023-12-13 18:59:19.432] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ar\ar101000.aspx
p2023-12-13 18:59:19.432] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ar\ar101000.aspx.cs
c2023-12-13 18:59:19.433] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ar\ar301000.aspx
p2023-12-13 18:59:19.434] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ar\ar301000.aspx.cs
c2023-12-13 18:59:19.436] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ar\ar303000.aspx
p2023-12-13 18:59:19.437] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ar\ar303000.aspx.cs
c2023-12-13 18:59:19.438] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_cr\cr304000.aspx
p2023-12-13 18:59:19.439] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_cr\cr304000.aspx.cs
c2023-12-13 18:59:19.440] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_cr\cr304500.aspx
p2023-12-13 18:59:19.441] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_cr\cr304500.aspx.cs
c2023-12-13 18:59:19.443] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_cs\cs102000.aspx
p2023-12-13 18:59:19.443] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_cs\cs102000.aspx.cs
c2023-12-13 18:59:19.445] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ep\ep203000.aspx
p2023-12-13 18:59:19.446] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_ep\ep203000.aspx.cs
c2023-12-13 18:59:19.447] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_fs\fs300100.aspx
p2023-12-13 18:59:19.448] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_fs\fs300100.aspx.cs
c2023-12-13 18:59:19.450] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_fs\fs300200.aspx
p2023-12-13 18:59:19.451] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_fs\fs300200.aspx.cs
c2023-12-13 18:59:19.452] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_fs\fs500100.aspx
p2023-12-13 18:59:19.453] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_fs\fs500100.aspx.cs
c2023-12-13 18:59:19.454] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in101000.aspx
p2023-12-13 18:59:19.455] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in101000.aspx.cs
c2023-12-13 18:59:19.456] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in202000.aspx
p2023-12-13 18:59:19.457] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in202000.aspx.cs
c2023-12-13 18:59:19.459] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in202500.aspx
p2023-12-13 18:59:19.460] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in202500.aspx.cs
c2023-12-13 18:59:19.461] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in307000.aspx
p2023-12-13 18:59:19.462] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_in\in307000.aspx.cs
c2023-12-13 18:59:19.463] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po101000.aspx
p2023-12-13 18:59:19.465] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po101000.aspx.cs
c2023-12-13 18:59:19.466] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po301000.aspx
p2023-12-13 18:59:19.467] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po301000.aspx.cs
c2023-12-13 18:59:19.469] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po302000.aspx
p2023-12-13 18:59:19.470] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po302000.aspx.cs
c2023-12-13 18:59:19.471] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po505000.aspx
p2023-12-13 18:59:19.472] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_po\po505000.aspx.cs
c2023-12-13 18:59:19.474] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_so\so301000.aspx
p2023-12-13 18:59:19.475] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_so\so301000.aspx.cs
c2023-12-13 18:59:19.477] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_so\so303000.aspx
p2023-12-13 18:59:19.478] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\CstPublished\pages_so\so303000.aspx.cs
c2023-12-13 18:59:19.488] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\Bin\ASGCORE.dll
l2023-12-13 18:59:19.489] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\Bin\ASGCORE.pdb
d2023-12-13 18:59:19.497] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\Bin\PX.LineCostForAccrueExt.dll
l2023-12-13 18:59:19.498] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\Bin\PX.LineCostForAccrueExt.pdb
d2023-12-13 18:59:19.507] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\Bin\PX.SpecialOrderCostAccounting.Ext.dll
l2023-12-13 18:59:19.508] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\Bin\PX.SpecialOrderCostAccounting.Ext.pdb
d2023-12-13 18:59:19.510] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\App_RuntimeCode\PX_Objects_CR_CROpportunity_extensions.cs
c2023-12-13 18:59:19.511] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\App_RuntimeCode\PX_Objects_CR_CROpportunityProducts_extensions.cs
c2023-12-13 18:59:19.513] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\App_RuntimeCode\PX_Objects_CR_CRQuote_extensions.cs
c2023-12-13 18:59:19.514] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\App_RuntimeCode\PX_Objects_CR_Standalone_CROpportunity_extensions.cs
c2023-12-13 18:59:19.516] Patching the file D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website\App_RuntimeCode\PX_Objects_CR_Standalone_CRQuote_extensions.cs
c2023-12-13 18:59:24.742] Done
n2023-12-13 18:59:24.742] Validating Binary Files
e2023-12-13 18:59:24.915] Validating Sql Scripts
t2023-12-13 18:59:24.952] Validating the website D:\ERP\22.215.0056\Customization\American22\American22Validation\American22Website
t2023-12-13 18:59:24.952] IIS APPPOOL\American22
22023-12-13 18:59:32.945] Building directory '\WebSiteValidationDomain\App_Code\'.
'2023-12-13 18:59:38.913] Building directory '\WebSiteValidationDomain\App_RuntimeCode\'.
'2023-12-13 18:59:39.431] Building directory '\WebSiteValidationDomain\Controls\'.
'2023-12-13 18:59:40.302] \Controls\PageTitle.ascx.cs(877): warning CS0219: The variable 'webItem' is assigned but its value is never used
e2023-12-13 18:59:40.302] \Controls\PageTitle.ascx.cs(1105): warning CS0414: The field 'User_PageTitle.auditMenuEnabled' is assigned but its value is never used
e2023-12-13 18:59:40.307] Building directory '\WebSiteValidationDomain\CstPublished\pages_ap\'.
'2023-12-13 18:59:40.310] Building directory '\WebSiteValidationDomain\MasterPages\'.
'2023-12-13 18:59:41.730] Building directory '\WebSiteValidationDomain\CstPublished\pages_ar\'.
'2023-12-13 18:59:43.678] Building directory '\WebSiteValidationDomain\CstPublished\pages_cr\'.
'2023-12-13 18:59:45.408] Building directory '\WebSiteValidationDomain\CstPublished\pages_cs\'.
'2023-12-13 18:59:45.931] Building directory '\WebSiteValidationDomain\CstPublished\pages_ep\'.
'2023-12-13 18:59:46.505] Building directory '\WebSiteValidationDomain\CstPublished\pages_fs\'.
'2023-12-13 18:59:48.034] Building directory '\WebSiteValidationDomain\CstPublished\pages_in\'.
'2023-12-13 18:59:49.448] Building directory '\WebSiteValidationDomain\CstPublished\pages_po\'.
'2023-12-13 18:59:51.687] Building directory '\WebSiteValidationDomain\CstPublished\pages_so\'.
'2023-12-13 18:59:53.590] Building directory '\WebSiteValidationDomain\Customization\'.
'2023-12-13 18:59:54.036] Building directory '\WebSiteValidationDomain\ExternalResource\'.
'2023-12-13 18:59:54.435] Building directory '\WebSiteValidationDomain\Mobile\'.
'2023-12-13 18:59:54.853] Building directory '\WebSiteValidationDomain\Pivot\'.
'2023-12-13 18:59:56.807] Compiler time, in seconds: 31.8553224
22023-12-13 18:59:56.807] Validating graph and cache extensions
n2023-12-13 18:59:56.937] Validating Extensions
n2023-12-13 18:59:56.937] Failed to load types from assembly American216, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null with message: Could not load file or assembly 'PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Validation failed.