Hello every body.
After reading some more, and trying anything I came across. I found an
article that offered the so needed light at the end of the tunnel.
I knew the warning message I was getting from the compiler (at runtime) about the namespace had nothing to do with it, for the project would compile and run as long I did not try to instantiate a SignedXml object. The problem had to be isolated to the System.Security dll.
End of story, the article states that certain error "
always happened while developing a web application in Visual Studio 2005 and wanting to use code that deals with certificates". Since I had nothing to lose, I gave it a try.
Solution
Modify the "Compilation" Tag in our Web.config file to include the following:
<assemblies>
<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
at the end, it looks like this (
and WORKS!!!):
<compilation debug="true" targetFramework="4.6.1">
<assemblies>
<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
No more
"warning CS0436....."
Cheers!