I’ve bought the Aspose.Pdf.Kit license. I’ve followed the instructions to add the .lic file as an embedded resource in a Visual Studio Project, an it works (as explained in https://docs.aspose.com/pdf/net/licensing/)
I need to to the same in another project of the same solution, which is a web project. When I add the file as an existing item and edit its properties, the “build action” property is not available, so how could I set the .lic file as an embedded resource in a web project of Visual Studio?
If I add that file to the web project without any further settings, I get the exception:
Exception Details: System.IO.FileNotFoundException: Cannot find license 'Aspose.Pdf.Kit.License.lic'.
Also, I’ve added the license.SetLicense() code in the global.asax file, Application_Start() method, is that correct?