开发者

Namespace error - how to fix?

开发者 https://www.devze.com 2023-02-04 14:48 出处:网络
I\'m new to Visual Studio 2010, how do I fix the following error? Error: The type or namespace name \'Xml\' does not exist in the namespace \'System.Security.Cryptography\' (are you missing an assemb

I'm new to Visual Studio 2010, how do I fix the following error?

Error: The type or namespace name 'Xml' does not exist in the namespace 'System.Security.Cryptography' (are you missing an assembly reference?)

with code:

using System;
using System.Xml;
using System.Security.Cryptography;
u开发者_如何转开发sing System.Security.Cryptography.Xml;


You need to add a reference to the "System.Security" assembly. (Right-click project - add reference).

0

精彩评论

暂无评论...
验证码 换一张
取 消