I have used this package many times in a library with great success. However, since Mail v 1.21.1 is so far out of date, I need to bring in Bouncy Castle Portable 1.9.0 which I have done. It even works quite well before I publish it. HOWEVER, when I publish the library with just a “Get Credentials” activity and the “Get Google Token” activity, I cannot use it in a subsequent process without reimporting the Bouncy Castle package into said subsequent process.
How do I create the library so that I don’t get this error in the process: {Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.}?
If you are adding the dependency, but it keeps getting removed, try checking the project settings, there is a flag to remove unused dependencies, its quite possible this is being falsely detected as ‘unused’ and then removed.
Its quite surprising this issue has still not been fixed in the package itself.