Skip to main content
Answer

DLL file differs between Package file and published file

  • August 20, 2024
  • 4 replies
  • 55 views

What could be the reason between a binary file in a package being different from the file that is published to the Bin folder?

I had done a MD5 hash comparison and the file in the Bin folder (after publishing) differs from the file in the Package. The only fix was to download the file from the Custom Package Files grid and copy it to the Bin folder.

Has anyone experienced this before? What could cause it?

Best answer by Desmond78


Expected behaviour was different on the dev instance to the test instance after publishing a dev package to the test instance.

DLL versions reported to be the same, but MD5 hashes were not the same.

Have recompiled against refreshed dependencies and the issue seems to be resolved. Thanks.

 @Dmitrii Naumov thanks for the explanation. Thanks @palbores for your reply.

4 replies

palbores
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • August 20, 2024

@Desmond78 have you tried to “Publish with Cleanup”? I think it will work.


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • August 20, 2024

@Desmond78 

There is a mechanism that patches the customization code while publishing. 

E.g. if a customization code was for older Acumatica version initially and then published on a newer Acumatica version. In case some method signatures were changed, but the change is not significant and can be automatically patched in the DLL, the customization engine will do it in order to have less issues with binary compatibility of customizations.


  • Author
  • Answer
  • August 20, 2024


Expected behaviour was different on the dev instance to the test instance after publishing a dev package to the test instance.

DLL versions reported to be the same, but MD5 hashes were not the same.

Have recompiled against refreshed dependencies and the issue seems to be resolved. Thanks.

 @Dmitrii Naumov thanks for the explanation. Thanks @palbores for your reply.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • August 20, 2024

Dmitrii Naumov thanks for the explanation. Thanks @palbores for your reply.