【发布时间】:2017-04-08 17:25:19
【问题描述】:
我必须用 a 读取已签名的 xml
Using System.Security;
System.Security.Cryptography.Xml.SignedXml signedXml = new System.Security.Cryptography.Xml.SignedXml(lic);
第一个 Unity/VS 抱怨说
VS > 错误 11 类型或命名空间名称
Xml' does not exist in the namespaceSystem.Security.Cryptography'。你错过了一个 汇编参考?
所以我在 Visual Studio (C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Security.dll) 中添加了对 System.Security 的引用...但 Unity 一直抱怨
错误 CS0234:类型或命名空间名称
Xml' does not exist in the namespaceSystem.Security.Cryptography'。你错过了一个程序集 参考?
然后我尝试直接复制资产文件夹中的“System.Security.dll”...但仍然是相同的消息!
请问我做错了什么?必须做什么? 非常感谢!
【问题讨论】:
标签: unity3d unityscript