认证问题 [英] certification issue

查看:82
本文介绍了认证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我尝试将我的xamarin UWP应用程序发布到mictosoft商店时,我在认证阶段遇到了这个问题 


找到错误:  支持的API测试检测到以下错误:


  • 此应用程序类型不支持ws2_32.dll中的API FreeAddrInfoEx。 ShareIT_App.UWP.dll调用此API。

如果我在本地运行证书测试我没有错误。


任何人都可以解释这里有什么问题?



谢谢

解决方案

嗨  Abdullam09,


>此应用程序类型不支持ws2_32.dll中的API FreeAddrInfoEx。 ShareIT_App.UWP.dll调用此API。


当您在未经过此编译过程的UWP应用程序上运行WACK时,您将得到一个不那么 - 琐碎的失败。它看起来像是:

API 此应用程序类型不支持***。***。dll; .....调用此API。

修复方法是确保正确创建包,并在正确的位置运行WACK。如果您按照打包指南进行操作,永远不应该
遇到这个问题。有关详细信息,请参阅此博客

请注意部分:打包应用之前 (测试/优化应用/ .NET本机兼容性.....)并根据需要检查您的应用


>如果我在本地运行证书测试我没有错误。


一个包通过本地WACK但在线WACK失败是正常现象。


祝你好运


雏菊 田


hi,

when i try to publish my xamarin UWP app to mictosoft store i got this issue in certification stage 

Error Found: The supported APIs test detected the following errors:
  • API FreeAddrInfoEx in ws2_32.dll is not supported for this application type. ShareIT_App.UWP.dll calls this API.

and if i run the certificate test locally i get no errors.

could anyone explain what is the issue here?

Thanks

解决方案

Hi Abdullam09,

>API FreeAddrInfoEx in ws2_32.dll is not supported for this application type. ShareIT_App.UWP.dll calls this API.

When you run the WACK on a UWP app that did not go through this compilation process, you will get a not-so-trivial failure. It will look something like:
API  *** in ***.dll is not supported for this application type  .....calls this API.
The fix is to make sure you are creating your packages properly, and running WACK on the right one. If you follow these packaging guidelines, you should never encounter this issue.For more details please refer to this blog
Please pay attention the part:Before packaging your app (test/optimize the app/.NET Native compatibility.....) and check your app as required

>and if i run the certificate test locally i get no errors.

It is normal phenomenon for a package to pass the local WACK but fail during the online WACK.

Best regards

Daisy  Tian


这篇关于认证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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