I’ve created a console app and included aspose pdf as nuget package (version 19.10.0). In the csproj File i set publish Ready to Run on true:
true
After that i tried to compile the solution on a linux machine (Debian 10): dotnet publish -r linux-arm -c release.
Following error messages where displayed:
/usr/share/dotnet/sdk/3.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(307,5): error : Error compiling .nuget/packages/aspose.pdf/19.11.0/lib/netstandard2.1/Aspose.Pdf.dll: Arithmetic, casting or conversion operation overflowed or underflowed. (0x80131516)
/usr/share/dotnet/sdk/3.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(307,5): error : Error: compilation failed for ".nuget/packages/aspose.pdf/19.11.0/lib/netstandard2.1/Aspose.Pdf.dll" (0x80131516)
Can you provide further information how to deal with this issue?