We have purchased a licence (baesys) and are trying to use Aspose.Diagram to convert a Visio document to pdf in a .NET Core 2 class library. The same document converts successfully when running on .NET Framework 4.6 but when we set up a project like the one below on .NET Core the
var visioDiagram = new Aspose.Diagram(sourceDiagramPath);
instantiation always fails with
2018-06-08 10:12:20.933 +01:00 [Error] Error in element VisioDocument in \VisioDocument. Error in element DocumentProperties in \VisioDocument\DocumentProperties. No data is available for encoding 1252. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
These are all of the package references (the system versions are taken from the Aspose listed dependencies for Aspose.PDF)
TargetFramework:netcoreapp2.0
<PackageReference Include="Aspose.Diagram Version="18.5.0"
<PackageReference Include="System.Drawing.Common" Version="4.5.0-preview1-25914-04"
<PackageReference Include="System.Security.Permissions" Version="4.5.0"
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.0"
<PackageReference Include="Aspose.PDF" Version="18.5.0"
<PackageReference Include="Aspose.Words" Version="18.6.0"
<PackageReference Include="iTextSharp-LGPL" Version="4.1.6"
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.0"