Running Xamarin Forms with the code below in the app.xaml.cs file and the Aspose.Total.Lic file as an embedded resource in the project, and exception is generated. In XML of the license file there are illegal characters.
Aspose.Pdf.License license = new Aspose.Pdf.License(); license.SetLicense("Aspose.Total.Lic");
Exception thrown: ‘System.Xml.XmlException’ in Aspose.Pdf.dll
An exception of type ‘System.Xml.XmlException’ occurred in Aspose.Pdf.dll but was not handled in user code
An error occurred while parsing EntityName. Line 17, position 122.