Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8123

Enable version, device, and chip arch specific library / dll / winmd references in plugins for the Windows platform

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-windows
    • None

    Description

      Because Cordova's windows platform can target multiple target platforms, projects and frameworks referenced by the plugin may need to target only a subset of those platforms. To enable this, support the following attributes on the <lib-file> and <framework> elements:

      1. device - indicates the reference is specific to a target device. Supported values are "phone", "windows" or "all" (default is "all").
      2. versions - specify platform versions the reference supports (node semantic version ranges supported). Default is to support all versions.
      3. arch - indicates the reference is specific to a particular chip architecture (x86 or x64).

      The "arch" attribute should result in a Condition="'$(Platform)'=='XXX" attribute on the reference. The other attributes will impact which generated jsproj files the reference is actually added to.

      Attachments

        Issue Links

          Activity

            People

              TimBarham Tim Barham
              TimBarham Tim Barham
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified