iText7 (Version 8.0.0) getting "dependency must be added" error when upgraded from .Net 6 to .Net 7

110 views Asked by At
var writer = new PdfWriter(stream);

The above line throwing below exception in .Net7, working fine in .Net6 without doing any changes.

NotSupportedException: Either itext7.bouncy-castle-adapter or itext7.bouncy-castle-fips-adapter dependency must be added in order to use BouncyCastleFactoryCreator

Googled the error in multiple ways, but no clue. There is no forum to discuss about this issue or no post found with same issue.

0

There are 0 answers