Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23557

Windows: target win sdk attribute in timodule.xml

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 6.0.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2016 Sprint 13 SDK

      Description

      Currently timodule.xml in Windows module project is not used at all. But in order to align with how it's used in other platforms, we may need to have a way to specify target Windows sdk version attribute in it.

      To be specific, to align with other platform attributes, it would be <uses-sdk targetSdkVersion="10.0" />.

      <windows>
        <manifest>
          <uses-sdk targetSdkVersion="10.0" />
        </manifest>
      </windows>
      

      When targetSdkVersion is specified, Windows module build should take the value as target Windows sdk version. Currently Windows 10 support is built by default whenever Windows 10 sdk is available, but you should be able to remove it by explicitly specifying 8.1 for it.

      Steps

      > appc new -n test --id com.example.test
      > cd test/windows
      

      Then update timodule.xml to explicitly specify 8.1.

      <windows>
        <manifest>
          <uses-sdk targetSdkVersion="8.1" />
        </manifest>
      </windows>
      

      Then build the module and make sure packaged zip doesn't contain win10 folder in it.

      appc ti build -p windows --build-only
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                kiguchi Kota Iguchi (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration