Acumatica unable to publish the Customization Package

戏子无情 提交于 2019-12-11 14:08:22

问题


I am trying to publish the customization package on Acumatica Version 17.204.0019.

But I am getting the following error :

Validating Binary Files
Aspose.Words.dll Method signature was changed: System.Void   [0...,0...]::.ctor(System.Int32,System.Int32) declared in Aspose.Words.dll
Aspose.Words.dll Failed to resolve method reference: System.Void   [0...,0...]::Set(System.Int32,System.Int32,  ) declared in Aspose.Words.dll
Aspose.Words.dll Failed to resolve method reference:      [0...,0...]::Get(System.Int32,System.Int32) declared in Aspose.Words.dll
Aspose.Words.dll Failed to resolve method reference:    /&    /[0...,0...]::Address(System.Int32,System.Int32) declared in Aspose.Words.dll
Aspose.Words.dll Method signature was changed: System.Void    /[0...,0...]::.ctor(System.Int32,System.Int32) declared in Aspose.Words.dll

We have installed Aspose.Words via Nuget Package Manager and we want to include it in package. But as you see Acumatica is trying to validate Aspose.Words.dll bynary files. How can we disable to validate binary files while publishing the customization package? Or how to solve problem? In package we have correctly included every dll(Copy Local property is set to true on aspose dll).


回答1:


To be honest, it's too soon to confidently say, whether this behavior is caused by a potential issue with Acumatica binary file validation or something else. All details had been forwarded to Acumatica Engeeniring Team for further investigation. Will post an update here as soon as I hear back from engineering.


Based upon the response from engineering, to get over this issue you should proceed as follows:

  1. Create a cstValidationIgnore.txt text file in your local Acumatica ERP website's App_Data folder

  2. Copy all 5 error messages generated for Aspose.Words.dll from the Compilation dialog and paste them into the cstValidationIgnore.txt text file created on step 1 (during the Binary Validation stage errors listed in the cstValidationIgnore.txt text file will be ignored)

  3. Open the Customization Manager and include cstValidationIgnore.txt text file into the customization project, that already contains Aspose.Words.dll

  4. Republish the customization



来源:https://stackoverflow.com/questions/48679096/acumatica-unable-to-publish-the-customization-package

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!