FormatMessage is not supported for this application type

岁酱吖の 提交于 2019-12-06 05:45:43

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.

I had this problem as well after a string a successful submissions of the same app to the store. Through trial and error I found out that if I built the app in Release mode, and THEN created the packages for the store, everything worked. If the last build was in Debug mode, and then I flipped the configuration to "Release" (without building in Release) and then creating the package, I would get this error. So that's something worth trying - Rebuild All in Release mode and then create the store packages.

I also faced the same problem, i issued three packages to the store with the same error during certification, in my case, the solution was to set false the EnableDotNetNativeCompatibleProfile tag in the csproj (i didnt found it on the project properties editor), although I replicated the failed test just as huyc replied, the app was successfully submited to the store.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!