jef*_*ter 2 .net c# windows-8 windows-8.1
我一直在研究一个C#应用程序,它最终会在App Store上运行,在Windows 8.1平板电脑上运行.
目标平台版本:Windows 8.1
输出类型:"Windows应用商店应用"
我可以在IDE中运行应用程序"Visual Studio Express 2013 for Windows",我可以"创建应用程序包"
当被问到我是否要上传到商店时,我选择"否",它会产生一个
X.Win8_1.0.0.0_Debug_Test\Add-AppDevPackage.ps1
X.Win8_1.0.0.0_Debug_Test\...etc
X.Win8_1.0.0.0_AnyCPU_bundle_Debug.appxupload
Run Code Online (Sandbox Code Playgroud)
我可以在我的开发机器上运行.ps1文件,并安装证书和应用程序.
如果我将这些文件复制到测试平板电脑(Hewlett-Packard Business-Notebook Intel Atom),那么它就不会安装它了..
"the package or bundle is not digitally signed or its signature is corrupted"
Run Code Online (Sandbox Code Playgroud)
我遵循的步骤是.. 如何部署应用程序
所以我的问题是......
我究竟做错了什么?为什么我得到关于签名的消息,我正在尝试不可能的事情?
注意:所选的架构是"中立的"
我已经在平板电脑设备的注册表中查看了以下内容.
使用RegEdit导航到密钥:HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx
将AllowAllTrustedApps(REG_DWORD)设置为值1
我的注册表中没有"Appx"条目.只是...
CurrentVersion
EnhancedStorageDevices
IPSec
网络连接
NetworkConnectivityStatsIndicator
更安全
系统
WcmSvc
WSDAPI
AHH!
看起来平板电脑是Windows8,应用程序是Windows 8.1!
这可能是我的祸患!?!?!?
是!
从Windows 8.0更新其他计算机到Windows 8.1的工作原理!
所以,如果你收到消息......
"the package or bundle is not digitally signed or its signature is corrupted"
Run Code Online (Sandbox Code Playgroud)
然后它可能意味着您拥有的应用程序是Windows 8.0的目标,而您在Windows 8.1上