You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/15 14:19:00 UTC

[jira] [Commented] (CB-9159) Fix Windows Phone 8.1 deploy when 'window-target-version' is 10.0

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

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

GitHub user sgrebnov opened a pull request:

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

    CB-9159 Fix Windows Phone 8.1 deploy when 'window-target-version' is 10

    Jira issue: https://issues.apache.org/jira/browse/CB-9159
    
    * Don't duplicate target processing logic in Run and Build scripts.
    * Run should use first available build target returned by Build script
    * Added additional tests for `--appx` parameter

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

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

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

    https://github.com/apache/cordova-windows/pull/91.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 #91
    
----
commit 526c9f6b07e58a5795bb6e2fec98f6bbd186b586
Author: sgrebnov <v-...@microsoft.com>
Date:   2015-06-15T10:11:26Z

    CB-9159 Fix Windows Phone 8.1 deploy when 'window-target-version' is 10.0

----


> Fix Windows Phone 8.1 deploy when 'window-target-version' is 10.0
> -----------------------------------------------------------------
>
>                 Key: CB-9159
>                 URL: https://issues.apache.org/jira/browse/CB-9159
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: windows, windows-phone
>
> I'm using the following configuration to upgrade desktop app to Windows10 and continue using 8.1 for Windows Phone target.
> {code}
> <preference name="windows-target-version" value="10.0" />
> <preference name="windows-phone-target-version" value="8.1" />
> {code}
> Deploy to Phone fails as it incorrectly tries to find and deploy Windows10 package
> {code}
> λ cordova run windows -- --phone
> Running command: cmd "/s /c "C:\temp\winDeployTest\platforms\windows\cordova\run.bat --phone""
> MSBuildToolsPath: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\
> Building project: C:\temp\winDeployTest\platforms\windows\CordovaApp.Phone.jsproj
>         Configuration : debug
>         Platform      : anycpu
>   CordovaApp.Phone -> C:\temp\winDeployTest\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_anyc
>   pu_debug_Test\CordovaApp.Phone_0.0.1.0_anycpu_debug.appx
>   CordovaApp.Phone -> C:\temp\winDeployTest\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_anyc
>   pu_debug.appxupload
>   Your package has been successfully created.
> ERROR: Package with specified parameters not found in AppPackages folder
> ERROR running one or more of the platforms: Error: cmd: Command failed with exit code 2
> You may not have the required environment or OS to run this project
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org