[ 
https://issues.apache.org/jira/browse/CB-10234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098044#comment-15098044
 ] 

ASF GitHub Bot commented on CB-10234:
-------------------------------------

GitHub user sgrebnov opened a pull request:

    https://github.com/apache/cordova-windows/pull/138

    CB-10234 Better error message when Windows10 requires 'arch' flag

    This patch adds the following error message:
    
![image](https://cloud.githubusercontent.com/assets/981580/12324140/b9551428-bad1-11e5-9acd-d5edb6834987.png)
    
    Original message is showed below:
    
![image](https://cloud.githubusercontent.com/assets/981580/12324182/f82be226-bad1-11e5-9578-32d7bf5ffb19.png)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-windows CB-10234

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-windows/pull/138.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #138
    
----
commit 89d284ba530dfca367bdcc2c099c797f25f1fe94
Author: sgrebnov <[email protected]>
Date:   2016-01-14T12:13:51Z

    CB-10234 Better error message when Windows10 requires 'arch' flag

----


> Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal 
> Windows) Build
> --------------------------------------------------------------------------------------
>
>                 Key: CB-10234
>                 URL: https://issues.apache.org/jira/browse/CB-10234
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Globalization, Windows
>    Affects Versions: 5.4.1
>         Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, [email protected], Plugin [email protected]
>            Reporter: Roberto De Simone
>            Assignee: Sergey Grebnov
>              Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add [email protected]
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to