[TIMOB-20571] Windows: Improve the detection of the Windows SDK used to build a project
| GitHub Issue | n/a |
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-04-14T14:28:17.000+0000 |
| Affected Version/s | Release 5.3.0 |
| Fix Version/s | Release 5.3.0, windowslib 0.4.7, windowslib 0.4.8 |
| Components | Windows |
| Labels | qe-5.3.0 |
| Reporter | Ewan Harris |
| Assignee | Gary Mathews |
| Created | 2016-03-15T20:21:39.000+0000 |
| Updated | 2016-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
JSON Source
titanium_mobile_windows: https://github.com/appcelerator/titanium_mobile_windows/pull/620 windowslib: https://github.com/appcelerator/windowslib/pull/37
Merged to master, cherry-picked to 5_3_X.
Verified as fixed. Running the command
appc run -p windows -T wp-emulatorproperly 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.*