How to Use a Single License File for Two Different Versions of Aspose.Words in the Same Solution?

Message:
System.InvalidOperationException : Invalid license signature. Please make sure the license file was not modified.

I’m working on a solution that contains two different projects. One project uses Aspose.Words version 11, and the other uses Aspose.Words version 25. I also have two separate license files:

  • One with <SubscriptionExpiry>20200717</SubscriptionExpiry> (for version 11)
  • Another with <SubscriptionExpiry>20260716</SubscriptionExpiry> (for version 25)

I would like to know:

  • Is it possible to use a single license file (ideally the newer one) to cover both versions?
  • If not, what is the recommended way to load two different license files for different projects in the same solution?

Any guidance on managing licensing for multiple Aspose versions in the same solution would be appreciated.

Thanks!

@kishor338

Can you please clarify if you are trying to use the newer license file for both versions or if you want to load both license files separately in your solution?

newer license file for both versions

@kishor338 No, new license file will not work for old version of Aspose.Words. A new license cannot be used with old version of Aspose.Words (pre 17.10.0 version). The licensing mechanism has been improved after 17.10 version and new licenses no longer work with old versions of Aspose.Words. You should use your old license with the old version of Aspose.Words and new license with the new version. Please note if you do not update to new version of Aspose.Words you can use you license perpetually.

1 Like

Got it. Thank you for you quick response.

1 Like