我正在尝试在Acumatica版本17.204.0019上发布自定义包。
但是我收到以下错误:
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
我们已经通过Nuget Package Manager安装了Aspose.Words,我们希望将其包含在包中。但正如您所看到的,Acumatica正在尝试验证Aspose.Words.dll bynary文件。 我们如何在发布自定义包时禁用验证二进制文件?或者如何解决问题?在包中我们正确地包含了每个dll(在Aspose dll上将Copy Local属性设置为true)。
答案 0 :(得分:2)
说实话,现在就过早自信地说,这种行为是否是由Acumatica二进制文件验证的潜在问题或其他原因引起的。所有细节已转发给Acumatica Engeeniring Team进行进一步调查。我会在收到工程师的回复后立即发布更新。
根据工程部门的回复,为了解决这个问题,您应该按照以下步骤进行操作:
在您当地的Acumatica ERP网站 App_Data 文件夹
从编译对话框中复制为Aspose.Words.dll生成的所有5条错误消息,并将它们粘贴到在步骤1中创建的 cstValidationIgnore.txt 文本文件中(在二进制验证阶段错误期间)列出的cstValidationIgnore.txt文本文件将被忽略)
打开自定义管理器并将 cstValidationIgnore.txt 文本文件包含到自定义项目中,该项目已包含Aspose.Words.dll
重新发布自定义