We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Diagram on .NET Core

We have purchased a licence for baesys and are trying to use Aspose.Diagram to convert a Visio document to pdf. It converts when running on DNF4.6 but when we set up a project like the one below on .NET Core the
instantiation always fails with

Diagram visioDiagram = new Diagram(sourceDiagramPath);

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.

<PackageReference Include="Aspose.Diagram" Version="18.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" />
<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" />

@sfackrell2,

The .NET Core is not supported in Aspose.Diagram for .NET API. We have already logged a feature request under the ticket ID DIAGRAMNET-51457 in our issue tracking system. It has been resolved and included in the next version 18.6 of Aspose.Diagram for .NET API. We will notify you once the next version is published.

The issues you have found earlier (filed as DIAGRAMNET-51457) have been fixed in Aspose.Diagram for .NET 18.6. This message was posted using BugNotificationTool from Downloads module by imran.rafique