I try to add package via nuget but this error occurs;
Could not install package 'System.Security.Cryptography.Xml 4.4.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Ok message is clear but there is a code peace and I moved it to my project. How can I make it work ? it requires this library
public string SignXml(XmlDocument xmlDoc, X509Certificate2 uidCert)
{
try
{
// Create a SignedXml object.
SignedXml signedXml = new SignedXml(xmlDoc);