C# 支持的API测试上的认证测试错误
我在认证测试中出错,似乎无法解决。发现的错误包括: •此应用程序类型不支持此API- Api=System.Security.Cryptography.Aes。模块=MSCORLIB。 文件=System.Core.dll •此应用程序类型不支持此API- Api=System.Security.Cryptography.ICryptoTransform。模块=MSCORLIB。 文件=System.Core.dll •此应用程序类型不支持此API- Api=System.Security.Cryptography.Aes.#ctor。模块=MSCORLIB。 文件=System.Core.dll •此应用程序类型不支持此API- Api=System.SystemException。模块=MSCORLIB。File=System.dll •此应用程序类型不支持此API- Api=System.SystemException.#ctor。模块=MSCORLIB。File=System.dll •此应用程序类型不支持此API- Api=System.SystemException。模块=MSCORLIB。File=System.Xml.dll •此应用程序类型不支持此API- Api=System.SystemException.#ctor。模块=MSCORLIB。 File=System.Xml.dll mscorlib模块是Windows Phone 8.1框架的一部分。该项目是针对通用应用程序Windows Phone 8.1 RT的 我试图解决的问题是启动一个新项目来刷新引用,但它没有做任何事情。我尝试过添加和删除库,但没有任何效果。我已经试过移除组件,但似乎无法移除C# 支持的API测试上的认证测试错误,c#,.net,api,windows-phone-8.1,app-certification-kit,C#,.net,Api,Windows Phone 8.1,App Certification Kit,我在认证测试中出错,似乎无法解决。发现的错误包括: •此应用程序类型不支持此API- Api=System.Security.Cryptography.Aes。模块=MSCORLIB。 文件=System.Core.dll •此应用程序类型不支持此API- Api=System.Security.Cryptography.ICryptoTransform。模块=MSCORLIB。 文件=System.Core.dll •此应用程序类型不支持此API- Api=System.Security.Cr
如何解决此错误?Windows/Windows Phone RT项目仅支持.net API的一个子集。您可以从中获得完整的支持列表 组件是必需的,不要试图移动它。但对于Windows/Windows Phone RT项目,此项目类型不支持System.Security.Cryptography.Aes 我想您可能会尝试从silverlight应用程序迁移到运行时应用程序。因为Silverlight应用程序支持System.Security.Cryptography.Aes。适用于Windows Phone silverlight应用程序的可用.net API
因此,请找出你在哪里使用它,并删除它。然后尝试使用中命名空间中的类来实现函数。谢谢您的帮助。我做了一个新的项目,一个接一个地介绍了所需的包和组件,并找到了有问题的包和组件。从Silverlight到Runtime的前一个端口附带了一个不再使用的程序集。怪人现在没有给我任何问题。