The license is correct and the code as well, the PATH is ok as it was working fine, it stops working and gives this error in the debugger
Exception: Exception thrown: ‘System.InvalidOperationException’ in Aspose.PDF.dll (“Cannot find resource ‘Aspose.Pdf.PP-TrackMaker…Aspose.Pdf.lic’.”). Exception thrown: ‘System.InvalidOperationException’ in Aspose.PDF.dll (“Cannot find resource ‘Aspose.Pdf.PP-TrackMaker…\Aspose.Pdf.lic’.”) 0.10s [10948]
NOTE: If I open the Project Solution on Visual Studio 2017, it works, but no on 2015. however, it was working before on 2015
Please help
CODE HERE:
public partial class MainForm : Form
{
string asposeLicFile = Path.Combine( “…\…\app_data\Aspose.Pdf.lic”);
public MainForm()
{
Aspose.Pdf.License aspLic = new Aspose.Pdf.License();
aspLic.Embedded = true;
aspLic.SetLicense(asposeLicFile); <----- ERROR OCURRS HERE, BUT CODE KEEPS RUNNING