Share via


namespace conflict between BouncyCastle and iTextSharp

Question

Tuesday, February 18, 2020 10:13 AM

Error CS0433: The type 'ECPrivateKeyParameters' exists in both 'BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=********9942' and 'itextsharp, Version=5.5.13.1, Culture=neutral, PublicKeyToken=********ddca'

When I installed DocuSign.eSign.dll, I had to install BouncyCastle, at this time there was a conflict between BouncyCastle.Crypto in BouncyCastle and BouncyCastle.Crypto integrated in itextsharp (previously installed), I couldn't uninstall BouncyCastle because DocuSign.eSign.dll depends on it. Please help me!

All replies (1)

Wednesday, February 19, 2020 8:06 AM

Hi dvloc95,

I have found a similiar problem here. You can try to change the alias in the properties of the iTextSharp dll.

Best Regards,

JIadong Meng