Hello everyone,
I’m invoking c# code in UiPath v22.10.5. The code involves generation of the digital certificate using the X509 certificate where i am referring the xml file path as an input.
The namespaces involved and imported in UiPath are shown below:
using System;
using System.Security.Cryptography.X509Certificates;
using System.Xml;
using System.Security.Cryptography.Xml;
using System.IO;
Further, while defining the variable, i m explicitly adding the full namespace (as partial throwing an error). Screenshot attached for the reference.
var sXml = new System.Security.Cryptography.Xml.SignedXml(doc);
I am still getting an error while executing the Invoke code activity in UiPath as “The type or namespace name ‘Xml’ does not exist in the namespace 'System.Security.Cryptography” for the above line.
Could someone confirm us the cause of the issue. Thank you in advance!
