Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20571] Windows: Improve the detection of the Windows SDK used to build a project

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-04-14T14:28:17.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.3.0, windowslib 0.4.7, windowslib 0.4.8
ComponentsWindows
Labelsqe-5.3.0
ReporterEwan Harris
AssigneeGary Mathews
Created2016-03-15T20:21:39.000+0000
Updated2016-04-19T23:05:57.000+0000

Description

Description

Currently when building a project the default SDK used will be 8.1, this means that if a user simply runs appc run -p windows -T wp-emulator then they will only be shown Windows 8.1 emulators, in order to be shown Windows 10 mobile emulators a user must run appc run -p windows -T wp-emulator -S 10.0. The CLI should show a user all possible emulators and then determine which Windows SDK is needed to build based off the choice made by the user.

Steps to reproduce

1. Run appc run -p windows -T wp-emulator

Actual result

You will be prompted to select from only 8.1 emulators

Expected reult

You should be prompted to select from all possible emulators

Comments

  1. Gary Mathews 2016-04-13

    titanium_mobile_windows: https://github.com/appcelerator/titanium_mobile_windows/pull/620 windowslib: https://github.com/appcelerator/windowslib/pull/37
  2. Christopher Williams 2016-04-14

    Merged to master, cherry-picked to 5_3_X.
  3. Harry Bryant 2016-04-19

    Verified as fixed. Running the command appc run -p windows -T wp-emulator properly displays all available 8.1 & 10.0 Windows Phone Emulators. Tested on: Windows 10 Pro Windows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201604180559 Ti SDK: 5.3.0.v20160418111755 Appc NPM: 4.2.5-2 Appc Core: 5.3.0-20 Node: v4.4.2 *Closing Ticket.*

JSON Source