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.