{ "id": "171811", "key": "TIMOB-26139", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-07-12T03:21:24.000+0000", "created": "2018-06-19T14:25:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" }, { "id": "20099", "name": "Release 7.2.0", "archived": false, "released": true, "releaseDate": "2018-06-14" } ], "issuelinks": [ { "id": "56750", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172131", "key": "TIMOB-26337", "fields": { "summary": "Windows: having issues getting windows app to compile / open after updated windows OS version", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-26T01:45:40.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": "I am unable to build applications to windows device.\r\n\r\n*Steps to reproduce*\r\n# Create a mobile application \r\n# Build to device {{appc run -p windows -T wp-device -l trace}}\r\n\r\n*Log and Error*\r\nhttps://gist.github.com/longton95/62ab044c898b31ef92f35048cb72d735\r\n\r\n*Log and Error with --deploy-type production flag*\r\nhttps://gist.github.com/longton95/320cb804efbfee3f3b1c25029bc72856\r\n\r\n", "attachment": [], "flagged": false, "summary": "Windows: Unable to build to device when using Windows SDK 15063 and newer tooling is installed", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Noka lumia 550 (Win 10)\r\nWindows 10 Pro: 1803\r\nAppc SDK: 7.2.0.GA\r\nAppc NPM: 4.2.13\r\nAppc CLI: 7.0.4\r\nTi CLI Ver: 5.1.1\r\nNode Ver: 8.9.1\r\nNPM Ver: 6.1.0", "closedSprints": [ { "id": 1050, "state": "closed", "name": "2018 Sprint 14 SDK", "startDate": "2018-07-01T18:40:57.193Z", "endDate": "2018-07-15T18:40:00.000Z", "completeDate": "2018-07-16T03:27:08.720Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "438573", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~jlongton] I am still unable to reproduce this. I saw similar issue on the [developer forum|https://developercommunity.visualstudio.com/content/problem/135719/build-full-database-file-for-solution-fails-for-st.html] which suggests to update Visual Studio...Would you try to update Visual Studio 2017 to the latest state just in case? (Go to Control Panel -> All Control Panel Items -> Programs and Features -> Select \"Visual Studio Community 2017\" -> Change)", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-06-21T04:11:39.000+0000", "updated": "2018-06-21T04:11:39.000+0000" }, { "id": "438676", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "[~kiguchi] I tried the update and still got the same error, I then completely removed visual studio from my machine and reinstalled from scratch but I still see the error. \r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-06-25T16:42:58.000+0000", "updated": "2018-06-25T16:42:58.000+0000" }, { "id": "438677", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Any ideas on this?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-06-25T16:53:24.000+0000", "updated": "2018-06-25T16:53:24.000+0000" }, { "id": "438708", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kiguchi] Nothing I can shed any light on sorry :/, I'm reinstalling Windows soon so I'll aim to get it done ASAP and then hopefully see if I run into this issue", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-06-26T08:57:05.000+0000", "updated": "2018-06-26T08:57:05.000+0000" }, { "id": "438715", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~jlongton] Could you try listing what VS compoenents are installed on your machine. \r\n\r\n- Install [vssetup|https://github.com/Microsoft/vssetup.powershell] by opening powershell (maybe in administrator) and run {{Install-Module VSSetup -Scope CurrentUser}}\r\n- Run the below command to list all the things you have installed\r\n{code}\r\nGet-VSSetupInstance -All -Prerelease | Select-Object -Expand packages @{l='Name'; e={if ($nn = $_.properties['Nickname']) { '{0} ({1})' -f $_.DisplayName, $nn} else { $_.DisplayName}}} | Where-Object type -in 'workload', 'component' | Sort-Object Name, @{e='Type'; desc=$true}, Id | Format-Table -Group Name -Property Type, Id\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-06-26T13:31:38.000+0000", "updated": "2018-06-26T13:31:38.000+0000" }, { "id": "438937", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "[~eharris]\r\n\r\n{noformat}\r\n Name: Visual Studio Community 2017\r\n\r\nType Id\r\n---- --\r\nWorkload Microsoft.VisualStudio.Workload.CoreEditor\r\nWorkload Microsoft.VisualStudio.Workload.NativeDesktop\r\nWorkload Microsoft.VisualStudio.Workload.Universal\r\nWorkload Microsoft.VisualStudio.Workload.VisualStudioExtension\r\nComponent Microsoft.Component.ClickOnce\r\nComponent Microsoft.Component.MSBuild\r\nComponent Microsoft.Component.NetFX.Native\r\nComponent Microsoft.Component.VC.Runtime.OSSupport\r\nComponent Microsoft.ComponentGroup.Blend\r\nComponent Microsoft.Net.Component.4.5.TargetingPack\r\nComponent Microsoft.Net.Component.4.6.1.SDK\r\nComponent Microsoft.Net.Component.4.6.1.TargetingPack\r\nComponent Microsoft.Net.Component.4.6.TargetingPack\r\nComponent Microsoft.Net.Component.4.7.1.SDK\r\nComponent Microsoft.Net.ComponentGroup.DevelopmentPrerequisites\r\nComponent Microsoft.Net.Core.Component.SDK\r\nComponent Microsoft.VisualStudio.Component.AppInsights.Tools\r\nComponent Microsoft.VisualStudio.Component.CoreEditor\r\nComponent Microsoft.VisualStudio.Component.Debugger.JustInTime\r\nComponent Microsoft.VisualStudio.Component.DiagnosticTools\r\nComponent Microsoft.VisualStudio.Component.Graphics\r\nComponent Microsoft.VisualStudio.Component.Graphics.Tools\r\nComponent Microsoft.VisualStudio.Component.Graphics.Win81\r\nComponent Microsoft.VisualStudio.Component.JavaScript.Diagnostics\r\nComponent Microsoft.VisualStudio.Component.JavaScript.TypeScript\r\nComponent Microsoft.VisualStudio.Component.NuGet\r\nComponent Microsoft.VisualStudio.Component.Phone.Emulator.15254\r\nComponent Microsoft.VisualStudio.Component.PortableLibrary\r\nComponent Microsoft.VisualStudio.Component.Roslyn.Compiler\r\nComponent Microsoft.VisualStudio.Component.Roslyn.LanguageServices\r\nComponent Microsoft.VisualStudio.Component.SQL.CLR\r\nComponent Microsoft.VisualStudio.Component.Static.Analysis.Tools\r\nComponent Microsoft.VisualStudio.Component.TextTemplating\r\nComponent Microsoft.VisualStudio.Component.TypeScript.2.8\r\nComponent Microsoft.VisualStudio.Component.UWP.Support\r\nComponent Microsoft.VisualStudio.Component.VC.ATL\r\nComponent Microsoft.VisualStudio.Component.VC.CMake.Project\r\nComponent Microsoft.VisualStudio.Component.VC.CoreIde\r\nComponent Microsoft.VisualStudio.Component.VC.DiagnosticTools\r\nComponent Microsoft.VisualStudio.Component.VC.Redist.14.Latest\r\nComponent Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest\r\nComponent Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest\r\nComponent Microsoft.VisualStudio.Component.VC.Tools.ARM\r\nComponent Microsoft.VisualStudio.Component.VC.Tools.ARM64\r\nComponent Microsoft.VisualStudio.Component.VC.Tools.x86.x64\r\nComponent Microsoft.VisualStudio.Component.VisualStudioData\r\nComponent Microsoft.VisualStudio.Component.VSSDK\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP.Native\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop.arm\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.16299.UWP\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.16299.UWP.Native\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.17134\r\nComponent Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core\r\nComponent Microsoft.VisualStudio.ComponentGroup.UWP.Cordova\r\nComponent Microsoft.VisualStudio.ComponentGroup.UWP.NetCoreAndStandard\r\nComponent Microsoft.VisualStudio.ComponentGroup.UWP.VC\r\nComponent Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin\r\nComponent Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites\r\nComponent Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions\r\n{noformat}\r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-02T19:24:11.000+0000", "updated": "2018-07-02T19:24:11.000+0000" }, { "id": "439046", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Took Josh's installed components and built a install config from it, able to reproduce the error. Attempting to work backwards to figure out what the cause is. Attached the config, to use it download the VS 2017 installer and then run it from command line with {{--in }} so like {{C:\\Users\\awam\\Downloads\\vs_community__733517741.1530097118.exe --in C:\\Users\\awam\\Desktop\\config.json}}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-07-09T10:35:28.000+0000", "updated": "2018-07-09T10:35:28.000+0000" }, { "id": "439047", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Removed the following packages and wp-device builds started working again\r\n\r\n{code}\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP\r\nComponent Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP.Native\r\n{code}\r\n\r\nEven though Josh has newer SDK, because of the check [here|https://github.com/appcelerator/titanium_mobile_windows/blob/9eb09da5eec1d3ab35419d30cbf05352e422c768/cli/commands/_build/generate.js#L158-L164], and our minimum sdk stated [here|https://github.com/appcelerator/titanium_mobile_windows/blob/9eb09da5eec1d3ab35419d30cbf05352e422c768/package.json#L29], 15063 is always getting selected. 15063 was fairly heavily tested when it was released due to the VS2015 incompatibility bugs we fixed see (TIMOB-25031 and related tickets). I'm unsure as to why it is now suddenly breaking, it could be due to incompatibilities with newer tooling?\r\n\r\nI'm currently uninstalling the newer SDKs and seeing if that fixes anything. I think we definitely need to upgrade the min supported versions", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-07-09T11:28:44.000+0000", "updated": "2018-07-09T11:28:44.000+0000" }, { "id": "439051", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I just got my PC clean-installed with VS 2017, and now I am able to reproduce this issue. I can see that 15063 sdk is selected even when I should have newer versions. I'll try to upgrade min supported versions.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-07-09T14:26:43.000+0000", "updated": "2018-07-09T14:26:43.000+0000" }, { "id": "439107", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1268", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-07-11T01:12:30.000+0000", "updated": "2018-07-11T01:12:30.000+0000" }, { "id": "439145", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "7_3_X backport: https://github.com/appcelerator/titanium_mobile_windows/pull/1269", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-07-11T23:19:38.000+0000", "updated": "2018-07-11T23:19:38.000+0000" }, { "id": "439147", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged to master and 7_3_X. Should be available on tomorrow's nightly build.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-07-12T03:21:24.000+0000", "updated": "2018-07-12T03:21:24.000+0000" }, { "id": "439173", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "*Closing ticket.*\r\nThe fix is present in SDK:\r\n\r\n{noformat}\r\n7.3.0.v20180711185043\r\n{noformat}\r\n\r\nThanks [~kiguchi]\r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-12T15:16:00.000+0000", "updated": "2018-07-12T15:16:00.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }