Reputation: 93
I am trying to decrypt a string using Rijndael algorithm. But I could not use System.security.cryptography .Is raises "Error 1 The type or namespace name 'Cryptography' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)" I am using Microsoft Visual Studio 2012 Express for Windows. Any help is appreciated.
Upvotes: 3
Views: 660
Reputation: 2086
Know this is an old question, but Windows 8 Store apps use a subset of .NET, '.NET For Windows Store Apps', which means that some libraries have not been ported. You will need to use Windows.Security.Cryptography instead, and refactor to use those libraries instead.
Upvotes: 1
Reputation: 10971
Right Click on your project
Check Target Framework, it should be .NET Framework 4.5 and not .NET Framework 4.5 Client Profile
Upvotes: 2