System.Security.Cryptography.Xml missing?

When trying to use the System.Security.Cryptography.Xml namespace with the .NET Framework 2.0, you may find the compiler not recognizing it, and that Intellisense does not recognize it even though you can see X509Certificates.

It’s a weird error but the solution is simple: Add a reference to System.Security in your project.

  • Share/Bookmark

7 Comments

KarthikOctober 23rd, 2007 at 6:15 am

You know what you are?

You are awesome!!!

That worked!!!

AlexApril 16th, 2008 at 5:50 pm

Thanks a lot for your solution. It saved a lot of time for investigation.

Indeed a very strange framework bug, but we .net-programmer like unexpected challenges…

Adi_HJune 28th, 2008 at 11:09 am

Yippy! You saved a lot of time. Thanks so much!

LordKaosAugust 7th, 2009 at 9:23 pm

Great solution! Thanks!

JRJune 30th, 2010 at 10:21 pm

my man!

HennAugust 6th, 2010 at 1:19 pm

Stupid question but how do I add teh reference???
using System.Security;
???

HennAugust 6th, 2010 at 4:02 pm

ofmg i got it thank you very much! =)

Leave a comment

Your comment