Create App Packages doesn't actually create an appxbundle file?

前端 未结 2 1934
有刺的猬
有刺的猬 2020-12-22 03:45

Using VS 2013 Update 4, Tools for Apache Cordova 3.0...

I\'m preparing a package for upload to the windows phone store and could use help getting VS to write out the

相关标签:
2条回答
  • 2020-12-22 04:00

    I haven't done a Windows Phone app yet, but it might be same issue as with Android and iOS app builds. Is your "Attach..." dropdown selected to Device? For Android and iOS builds, it will not create the store package unless you select Device.

    0 讨论(0)
  • 2020-12-22 04:10

    Currently creating appx bundle from Create App Package wizard is not supported. As a workaround you can either open native project and use Create App Package wizard to create appx bundle or you can modify the jsproj file to add property to indicate msbuild that you want to create appx bundle always.

    Workaround:

    1. Open native project -- after building the project, you will find native project under platforms\windows directory.
    2. In native project, you can use Create App Package wizard to specify that you want to create Bundle.

    OR

    1.) Another way to create appx bundle is to modify the jsproj (project file) by adding following properties and then building the project.

     <AppxBundle>Always</AppxBundle>
     <AppxBundlePlatforms>neutral</AppxBundlePlatforms>
    

    like

    <PropertyGroup>
        <TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
        <TargetPlatformVersion>8.1</TargetPlatformVersion>
        <RequiredPlatformVersion>8.1</RequiredPlatformVersion>
        <MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
        <DefaultLanguage>en-US</DefaultLanguage>
        <PackageCertificateKeyFile>CordovaApp_TemporaryKey.pfx</PackageCertificateKeyFile>
        <AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
        <AppxBundle>Always</AppxBundle>
        <AppxBundlePlatforms>neutral</AppxBundlePlatforms>
      </PropertyGroup>
    
    0 讨论(0)
提交回复
热议问题