You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and b) the target frameworks of BouncyCastle.Cryptography are net6.0;netstandard2.0;net461.
=> In a consuming project with e.g. .NET 4.8 the net461 target framework of BouncyCastle.Cryptography is resolved, which does not include the NET47_OR_GREATER members. (Note that the net461 version and not the netstandard2.0 version is resolved on e.g. .NET 4.8.)
The solution should be simple: Add a net47 (or maybe simply replace net461, as .NET 4.6.1 is out of support since Apr '22).
The text was updated successfully, but these errors were encountered:
Some members like
DotNetUtilities.GetECKeyPair()
are not available on a consuming project with e.g. .NET Full Fw 4.8.The reason is that,
a) we do
if NETCOREAPP1_0_OR_GREATER || NET47_OR_GREATER || NETSTANDARD1_6_OR_GREATER
conditional compilation (see e.g. https://github.com/bcgit/bc-csharp/blob/release/v2.2/crypto/src/security/DotNetUtilities.cs#L87-L88),and b) the target frameworks of
BouncyCastle.Cryptography
arenet6.0;netstandard2.0;net461
.=> In a consuming project with e.g. .NET 4.8 the
net461
target framework ofBouncyCastle.Cryptography
is resolved, which does not include theNET47_OR_GREATER
members. (Note that thenet461
version and not thenetstandard2.0
version is resolved on e.g. .NET 4.8.)The solution should be simple: Add a
net47
(or maybe simply replacenet461
, as .NET 4.6.1 is out of support since Apr '22).The text was updated successfully, but these errors were encountered: