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

Add a meaningful error message for .NET Native compilation failures when targeting anycpu

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-windows
    • Labels:
      None

      Description

      When using a plugin with a .NET dependency (such as the globalization plugin) targeting Windows 10, the .NET Native compiler is invoked. In order to build with the .NET Native compiler, however, the app must be built with one or more architectures chosen:

      > cordova build windows – --appx=uap --archs=x64

      For this, detect the condition and output a helpful error message that says that an architecture must be specified.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                robpaveza Rob Paveza
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: