{ "id": "174877", "key": "AC-6518", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-04-02T17:07:32.000+0000", "labels": [], "versions": [ { "id": "17032", "name": "Appcelerator Studio 4.3.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-03T13:30:56.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "I have installed visual studio 2017 and 2019 on same machine. And I wanted to run windows app from the Appcelerator studio. But it is failed to build.\r\n{code}\r\n[ERROR] : \b\b \bFailed to run command \"build\"\r\n[ERROR] : \b\b \bTypeError: Cannot read property 'cyan' of undefined\r\n{code}\r\n\r\nAs per my understanding, it will only build with vs 2017. But by default, it is selecting vs 2019 which assuming the problem. \r\n\r\nI have checked the environment setting:\r\n\r\n{code}\r\nMicrosoft (R) Visual Studio\r\n Visual Studio Enterprise 2017\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\r\n CLR Version = null\r\n MSBuild Version = v15.9.28307.1064\r\n Windows Phone SDKs = not installed\r\n Visual Studio Enterprise 2019 (selected)\r\n Path = D:\\vs2019\r\n CLR Version = null\r\n MSBuild Version = v16.5.29926.136\r\n Windows Phone SDKs = not installed\r\n{code}\r\n\r\nPlease tell how to changed to vs 2017 in Appcelerator studio for building Windows app\r\n\r\nif above is not a problem, then please suggest how to fix the build error.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Changed the selected visual studio version if multiple version installed on machine", "creator": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 10", "comment": { "comments": [ { "id": "454950", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~shishir.roy] Please see the Titanium CLI options document https://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options, you should be able to set the selected visual studio version using to {{appc ti config windows.visualstudio.selectedVersion \"Visual Studio Enterprise 2017\"}} ", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-04-02T17:55:10.000+0000", "updated": "2020-04-02T17:55:10.000+0000" }, { "id": "454962", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Note that there is a {{-V}} command line flag/option to specify the Visual Studio Target if you want to select/target it on a per command basis rather than setting the config value to effectively change the default.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-04-03T13:30:56.000+0000", "updated": "2020-04-03T13:30:56.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }