UWP 运行&发布时提示应用程序注册失败。[0x80073CF6] 错误 0x80070057: Windows 无法为 *** 程序包创建 AppContainer 配置文件
此问题出现在我将app关联应用商店账号之后,经过一番google、测试,最后确定是APP名称包含了不支持的字符导致的问题。这是相关说明,在链接中搜索错误编码0x80070057
即可看到如下解释:
One or more arguments are not valid If you check the AppXDeployment-Server event log and see the following event; While installing the package, the system failed to register the windows.repositoryExtension extension due to the following error: The parameter is incorrect.
You may get this error if the manifest elements DisplayName or Description contain characters disallowed by Windows firewall; namely | and all , due to which Windows fails to create the AppContainer profile for the package. Please remove these characters from the manifest and try installing the package.
大意就是当DisplayName或Description包含Windows防火墙不允许的字符,就可