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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • cordova-windows
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: