System.Security.Cryptography.XML and Winforms

I'm trying to expand on some code that was demo'd back in VS2005 Beta1.  It was a WinForm that encrypted only some elements of an xml file. 

I finally found the System.Security.Cryptography.XML namespace in the Web Services Enhancements 3.0 and installed them.  I can now add that namespace to my web sites.  But, when I try to add it to a Windows project the warning is:
Namespace or type specified in the Imports 'System.Security.Cryptography.xml' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

This is my imports:
Imports System.Security
Imports System.Xml
Imports System.Security.Cryptography.xml

Is this namespace still available in Windows projects   If so how do I access it

Thanks.


Answer this question

System.Security.Cryptography.XML and Winforms

  • RickN

    Yeah! What is the difference That is SO bizare...
  • abcoura

    That did it.  Thanks.

    But, now I'm left with the question of what's the difference between 'Add Reference' and Imports

  • rctaubert

    You also have to "Add Reference" to the appropriate assembly, in this case "System.Security".
  • System.Security.Cryptography.XML and Winforms