缺少使用system.security.cryptography.xml的命名空间 [英] Namespace using system.security.cryptography.xml missing

查看:79
本文介绍了缺少使用system.security.cryptography.xml的命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2015中遇到此问题,

我使用System.Security.Cryptography.Xml为代码

I have this problem in visual studio 2015 ,
I add namespace to code

using System.Security.Cryptography.Xml;



我在参考system.security中添加了olso。



但我有这个错误。

命名空间名称的类型不存在。



我尝试了什么:



我添加在参考中的system.security

我重建所有时间同样的错误。

我调试没有东西hapen。




I add olso in the reference system.security.

but I have this error .
the type of namespace name does not existe.

What I have tried:

I add system.security in the refereence
I rebuild all time tyhe same error.
I debug no things hapen.

Best regards

All

推荐答案

检查你的参考:我可以复制通过添加使用行显示您的问题,但只要我将 System.Security 的引用添加到我的项目错误消失:您是否添加了对错误项目的引用?
Check your reference: I could duplicate your problem by adding the using line you show, but as soon as I add the reference to System.Security to my project the error goes away: did you add the reference to the wrong project?


这篇关于缺少使用system.security.cryptography.xml的命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆