I embedded my new OEM license file into my project. I was using a temporary license and it was working great. When I replaced it with a new Dev OEM License, I keep getting UnsupportedFormatException for all my attempts at compiling.
I have tried to now add in the use of the License Class as per below.
Aspose.Pdf.License lic = new Aspose.Pdf.License();
lic.Embedded = true;
lic.SetLicense("Aspose.Total.lic");
Aspose.Pdf.Document packet = new Aspose.Pdf.Document();
Unfortunately this did not help either. What else can I check (Windows Event Log, etc.) to help diagnose the reason why it's not compiling anymore? Note I don't see an Expiration Tag in my lic file too but figured that was expected in a Dev OEM file.