I have the below code and the PackageLicense.lic at the root level as well as in the Resources folder, however I am getting the error message: Failed to validate the package license. The license key is missing. I originally tried with only the PackageLicense.lic in the Resources folder and it didn't work. Not sure if having it in both places is an issue. Also not sure if the below is in the correct order. Any thoughts?
Code: Select all
[ProvideLicense("XXXXXXExtension.PackageLicense.lic")]
[RegisterPackage("XXXXXX", "XXXXXX Orders Extension", "1.0.0.0", "PackageLicense", true)]
[ProvideResources("XXXXXXExtension.Properties.Resources")]
[RegisterProduct("XXXXXX", "XXXXXX Orders Extension", "1.0.0.0", "This package retrieves orders from XXXXXX.", "")]
[Guid("XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")]