问题描述
我正在尝试在Acumatica版本17.204.0019上发布自定义程序包。
但是出现以下错误:
验证二进制文件
Aspose.Words.dll方法签名已更改:System.Void [0 ...,0 ...] ::。ctor在Aspose.Words.dll
Aspose.Words.dll中声明的(System.Int32,System.Int32)无法解析方法引用:System.Void [0 ...,0 ...] :: Set(System在Aspose.Words.dll
Aspose.Words.dll中声明的.Int32,System.Int32,)无法解析方法引用:[0 ...,0 ...] :: Get(System.Int32,System .Int32)在Aspose.Words.dll
Aspose.Words.dll中声明无法解析方法引用:/& /[0...,0...]::Address(在Aspose.Words.dll
Aspose.Words.dll中声明的System(Int32,System.Int32)方法签名已更改:System.Void / [ 0 ...,0 ...] :: .. ctor(System.Int32,System.Int32)在Aspose.Words.dll
$ b中声明
$ b
我们已经通过Nuget软件包管理器安装了Aspose.Words,我们希望将其包含在软件包中。但是正如您所看到的,Acumatica正在尝试通过二进制文件验证Aspose.Words.dll。
发布定制包时如何禁用验证二进制文件?还是如何解决问题?在软件包中,我们正确地包含了每个dll(在aspose dll上,Copy Local属性设置为true)。
现在要确定地说这种行为是否是Acumatica二进制文件验证的潜在问题还是其他原因还为时过早。所有详细信息已转发给Acumatica工程团队进行进一步调查。
根据工程部门的回复,我们将在此处发布更新。
要解决此问题,您应该按照以下步骤操作:-
创建 cstValidationIgnore.txt 您的本地Acumatica ERP网站的 App_Data 文件夹中的strong>文本文件
-
从以下位置复制为Aspose.Words.dll生成的所有5条错误消息,然后将其粘贴到在步骤1中创建的 cstValidationIgnore.txt 文本文件中(在cstValidationIgnore.txt文本文件中列出的Binary Validation阶段错误将被忽略)
-
打开自定义管理器,并将 cstValidationIgnore.txt 文本文件包含到自定义项目中,该文件已包含Aspose.Words.dll
-
重新发布自定义
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).
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:
Create a cstValidationIgnore.txt text file in your local Acumatica ERP website's App_Data folder
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)
Open the Customization Manager and include cstValidationIgnore.txt text file into the customization project, that already contains Aspose.Words.dll
Republish the customization
这篇关于Acumatica无法发布自定义程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!