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

Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal Windows) Build

    XMLWordPrintableJSON

    Details

      Description

      1. Create a new Cordova project
      2. cordova add windows@4.2
      3. Add to config.xml Windows10 support
      <preference name="windows-target-version" value="10.0" />
      <preference name="windows-phone-target-version" value="10.0" />
      4. cordova plugin add cordova-plugin-globalization (1.0.2)
      5. cordova prepare windows
      6. Open the project in Visual Studio 2015
      7. Build the Windows10 (Universal Windows)

      Build Error:
      Error Your project.json doesn't list 'win10' as a targeted runtime. You should add '"win10": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore.

      Trying different plugins (also in combination) like splashscreen, dialogs, statusbar, vibration, inappbrowser, network-information do not cause the error.

      Removing the Globalization Plugin allows building without error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rdesimone Roberto De Simone
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: