本文介绍了此应用程序类型不支持 FormatMessage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用上运行应用认证时,我从支持的 api 中收到此错误.

When running app certification on my app, I'm getting this error from supported apis.

此应用程序类型不支持 api-ms-win-core-localization-l1-2-0.dll 中的 API FormatMessage.System.Diagnostics.Tracing.dll 调用此 API.

API FormatMessage in api-ms-win-core-localization-l1-2-0.dll is not supported for this application type. System.Diagnostics.Tracing.dll calls this API.

有什么明显我遗漏的地方吗?我没有直接使用该命名空间中的任何内容.如果这是在 System.Diagnostics.Tracing 中调用某些内容的 3rd 方库,有没有办法追踪哪个?我没有在我的应用中直接引用 System.Diagnostics.Tracing.

Is there something obvious that I'm missing? I'm not using anything from that namespace directly. If this is a 3rd party library calling something in System.Diagnostics.Tracing, is there a way to track down which one? I'm not referencing System.Diagnostics.Tracing directly in my app.

推荐答案

对于我的应用程序,如果我解压缩 .appxupload 并使用其中的文件 .appxbundle 来运行 App Cert Kit,我将得到这个错误,即使相同的 .appxupload 将在商店发布而不会出现问题.但是,如果我针对同一构建生成的文件夹 _Test 中的 .appxbundle 运行 Cert Kit,则不会报告错误.所以我猜 .appxupload 真的不打算安装在商店之外.

For my app, I will get exactly this error if I unzip the .appxupload and use the file .appxbundle inside it to run App Cert Kit against, even though the same .appxupload will publish on store without issue. However, if I run Cert Kit against the .appxbundle in folder _Test generated by the same build, there will be no error reported. So I guess the .appxupload is really not intended to be installed outside of store.

这篇关于此应用程序类型不支持 FormatMessage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 19:23