【问题标题】:Namespace error - how to fix?命名空间错误 - 如何修复?
【发布时间】:2011-01-12 17:48:35
【问题描述】:

我是 Visual Studio 2010 的新手,如何解决以下错误?

错误:命名空间“System.Security.Cryptography”中不存在类型或命名空间名称“Xml”(您是否缺少程序集引用?)

带代码:

using System;
using System.Xml;
using System.Security.Cryptography;
using System.Security.Cryptography.Xml;

【问题讨论】:

    标签: visual-studio-2010 namespaces


    【解决方案1】:

    您需要添加对“System.Security”程序集的引用。 (右键项目 - 添加引用)。

    【讨论】:

      猜你喜欢
      • 2015-12-10
      • 1970-01-01
      • 1970-01-01
      • 2019-05-23
      • 2023-04-03
      • 2020-06-24
      • 1970-01-01
      • 2023-02-02
      相关资源
      最近更新 更多