{ "id": "153586", "key": "TIMOB-20095", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-12-14T21:42:06.000+0000", "created": "2015-12-03T14:20:44.000+0000", "epic": { "id": 152412, "key": "TIMOB-19816", "name": "Windows: Support Windows 10 Mobile", "summary": " Windows: Support Windows 10 Mobile", "color": { "key": "color_3" }, "done": false }, "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "50036", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "153386", "key": "TIMOB-20049", "fields": { "summary": "Windows: Set up unit testing against Win 10 builds", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-04-12T20:58:08.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "With recent changes, we can get the listing of Win 10 emulators and can attempt to deploy using the old AppDeployCmd, but that fails complaining about bad XML. Attempts to manually open the solution in VS215U1 also failed to manually deploy (complains it can't copy the TitaniumWindows.winmd file from the SDK).\r\n\r\nI also attempted to see if there were other workarounds for deploying. It _looks_ like the new WinAppDeployCmd could install an app on the emulator if we knew the IP address the emulator is using (in the range 169.254.x.x). I tested this manually after the emulator was launched and that appeared to work (well, it didn't fail but the app didn't load properly, maybe the same issue as from VS2015?).\r\n\r\nThe wrinkle is that I see no way to determine what IP the emulator is using. There are powershell scripts out there (i.e. http://www.ravichaganti.com/blog/get-hyper-v-windows-server-2012-guest-network-configuration-using-wmi/) that say you can, but I always get empty list of IP addresses.", "attachment": [], "flagged": false, "summary": "Windows: Cannot deploy app to Win 10 Mobile emulator", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 536, "state": "closed", "name": "2015 Sprint 25 SDK", "startDate": "2015-12-05T01:30:40.415Z", "endDate": "2015-12-19T01:30:00.000Z", "completeDate": "2015-12-29T03:19:42.127Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "372054", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "When using the AppDeployCmd from 8.1 tooling, I get the same issue as described here: https://social.msdn.microsoft.com/Forums/exchange/en-US/97ac9637-7c74-4ba9-931e-f446156491cd/uwpdeploy-windows-10-app-to-windows-phone-10-device-without-visual-studio?forum=wpdevelop", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-03T14:23:42.000+0000", "updated": "2015-12-03T14:23:42.000+0000" }, { "id": "372055", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://social.msdn.microsoft.com/Forums/en-US/ce23adc6-53a0-44c6-8e75-7b57a33ebe84/uwp-how-to-programmatically-deploy-appx-to-win-10-mobile-emulator?forum=wpdevelop", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-03T15:05:18.000+0000", "updated": "2015-12-03T15:05:18.000+0000" }, { "id": "372224", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://blogs.windows.com/buildingapps/2015/07/09/just-released-windows-10-application-deployment-tool/", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-05T05:34:09.000+0000", "updated": "2015-12-05T05:34:09.000+0000" }, { "id": "372315", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/10994868-full-emulator-support-in-winappdeploycmd", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-07T16:52:10.000+0000", "updated": "2015-12-07T16:52:10.000+0000" }, { "id": "372630", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Here's the initial support for it at the windowslib level. If this PR gets approved/merged, I'll need to publish the package and then update titanium_mobile.\r\nhttps://github.com/appcelerator/windowslib/pull/27\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-10T17:35:43.000+0000", "updated": "2015-12-10T17:35:43.000+0000" }, { "id": "372692", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/7569", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-11T16:42:31.000+0000", "updated": "2015-12-11T16:42:31.000+0000" }, { "id": "373282", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "After setting this up on the build machine, I ran into an issue I didn't locally. It looks like when Visual Studio starts up an emulator for the first time it also does some other work:\r\n- It enables developer mode on the emulator\r\n- It turns on device discovery\r\n- It pairs with the emulator using the pin from the emulator\r\n- It then generates a default checkpoint to boot to on subsequent starts\r\n \r\nWe need to investigate if we can do these steps as well. there are powershelgl cmdlets to do hyper-v checkpoints, so that should be do-able, but the interactions with the emulator to turn on developer mode, discovery and pair look to be more difficult and likely are done using undocumented APIs in some DLLs. W may not be able to do this for the user and may need to tell them how to do so manually or ask them to launch the sun file in VS2015 and deploy to the emulator at least once there.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-18T15:56:20.000+0000", "updated": "2015-12-18T15:56:20.000+0000" }, { "id": "373283", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Some possible avenues for enabling developer mode, etc:\r\nhttp://blogs.msdn.com/b/dglover/archive/2015/05/05/how-to-enable-developer-mode-on-windows-10-mobile-technical-preview.aspx\r\nhttp://stackoverflow.com/questions/30249551/enabling-developer-mode-on-windows-10-build-build-10074\r\nhttps://technet.microsoft.com/en-us/library/hh848539.aspx\r\nhttps://msdn.microsoft.com/library/windows/apps/xaml/dn706236.aspx", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-18T15:59:39.000+0000", "updated": "2015-12-18T15:59:39.000+0000" }, { "id": "382530", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, I am now able to deploy a mobile project to a windows 10 mobile emulator, running the following command in the mobile project root directory: {{appc run -p windows -T wp-emulator --wp-sdk 10.0}}\r\n\r\nTested on: \r\nWindows 10 Pro \r\nWindows Phone 10.0 Emulator\r\nTi SDK: 5.3.0.v20160411203046 \r\nAppc NPM: 4.2.5-1 \r\nAppc Core: 5.3.0-12 \r\nNode: v4.4.2\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-12T20:57:44.000+0000", "updated": "2016-04-12T20:57:44.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }