Dim licensePDF As Aspose.Pdf.License = New Aspose.Pdf.License
licensePDF.SetLicense("aspose.lic")Dim licenseCells As Aspose.Cells.License = New Aspose.Cells.License()
licenseCells.SetLicense("aspose.lic")
Dim licenseWords As New Aspose.Words.License()
licenseWords.SetLicense("aspose.lic")
Dim licenseSlides As Aspose.Slides.License = New Aspose.Slides.License()
licenseSlides.SetLicense("aspose.lic")
Dim licenseTasks As Aspose.Tasks.License = New Aspose.Tasks.License()
licenseTasks.SetLicense("aspose.lic")
Dim licenseDiagram As Aspose.Diagram.License = New Aspose.Diagram.License()
licenseDiagram.SetLicense("aspose.lic")
Dim licenseEmail As Aspose.Email.License = New Aspose.Email.License()
licenseEmail.SetLicense("aspose.lic")
Dim licenseNote As Aspose.Note.License = New Aspose.Note.License
licenseNote.SetLicense("aspose.lic")
License file is embedded without copying to output directory.
Crash is always next Aspose component where license has to be checked. In above example, it will crash on Aspose.Cells but if I move Aspose.PDF to some other place like:
Dim licensePDF As Aspose.Pdf.License = New Aspose.Pdf.LicenselicensePDF.SetLicense("aspose.lic")
Dim licenseTasks As Aspose.Tasks.License = New Aspose.Tasks.License()
licenseTasks.SetLicense("aspose.lic")
then crash will at Aspose.Tasks.
Does Aspose.PDF corrupts now licenses so it cannot be found any more?
Can you please check?
Thanks,
Oliver