我试图在Windows商店发布Windows Phone cordova应用程序.我建立应用程序:
cordova build widows --release
Run Code Online (Sandbox Code Playgroud)
上传时,我收到错误
Package acceptance validation error: The Publisher attribute of the Identity element in the app manifest of file CordovaApp.xxx.appx is CN=$username$, which doesn't match your publisher ID: CN=xxxxxxxxxxxxx.
Run Code Online (Sandbox Code Playgroud)
我尝试将app与定义下一行config.xml相关联:
<preference name="windows-publisher-id" value="-appCN-" />
Run Code Online (Sandbox Code Playgroud)
但是还有:
<Identity Name="xxx" Publisher="CN=$username$" Version="1.0.0.0" ProcessorArchitecture="neutral" />
Run Code Online (Sandbox Code Playgroud)
在构建之后在AppxManifest.xml中.如何指定CN值?(我没有使用Visual Studio)