I'm trying to migrate the project from .Net Framework 4.5 to .NET 5.0. The SignedCms class from System.Security.Cryptography.Pkcs namespace is used in this project. It looks like .NET 5.0 includes this namespace. But I receive the error:
Error CS1069 The type name 'SignedCms' could not be found in the namespace 'System.Security.Cryptography.Pkcs'. This type has been forwarded to assembly 'System.Security.Cryptography.Pkcs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
My question is: Should I install NuGet package for system.security.cryptography.pkcs? Or it is possible to enable this namespace in another way?
question from:
https://stackoverflow.com/questions/65829734/is-system-security-cryptography-pkcs-namespace-built-in-net-5-0 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…