{ "id": "149373", "key": "TIMOB-19138", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-09T22:13:27.000+0000", "created": "2015-07-02T07:54:06.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.2.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-05T19:58:13.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": "We [default|https://github.com/appcelerator/titanium_mobile_windows/blob/master/cli/commands/_build/generate.js#L45-L47] to English for generating strings, but we don't set the [DefaultLangauge|https://msdn.microsoft.com/en-us/library/windows/apps/ff769509(v=vs.105).aspx#BKMK_DEFAULTLANGUAGEandLANGUAGESelements] in the manifest. This defaults to the language of the OS you build on so as long as this is also English, all is OK. But if you build on a system with a different language you get errors like this during the build and it will probably not work well.\r\n\r\nThe resolution is simple, it should set the {{DefaultLanguage}} in the generated manifest.\r\n\r\nAlso take note of TIMOB-16356\r\n\r\n{code}\r\n[WARN] Build succeeded.\r\n\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.sln\" (rebuild target) (1) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj.metaproj\" (Rebuild target) (2\r\n) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\Native\\TitaniumWindows_Native.vcxproj.metaproj\"\r\n(Rebuild target) (3) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\Native\\TitaniumWindows_Native.vcxproj\" (Rebuild\r\ntarget) (5) ->\r\n (_GetDefaultResourceLanguage target) ->\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2893,9):\r\nwarning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value. The fal\r\nlback language is set to the Visual Studio language: nl-NL. [C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone\r\n.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n\r\n\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.sln\" (rebuild target) (1) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj.metaproj\" (Rebuild target) (2\r\n) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj\" (Rebuild target) (6) ->\r\n (PrepareForBuild target) ->\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\V120\\Microsoft.CppBuild.targets(396,5): warning MSB8029: The\r\nIntermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with i\r\nncremental build. [C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj]\r\n\r\n\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.sln\" (rebuild target) (1) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj.metaproj\" (Rebuild target) (2\r\n) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj\" (Rebuild target) (6) ->\r\n (_GetDefaultResourceLanguage target) ->\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2893,9):\r\nwarning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value. The fal\r\nlback language is set to the Visual Studio language: nl-NL. [C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone\r\n.x86\\LiveViewer.vcxproj]\r\n\r\n\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.sln\" (rebuild target) (1) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj.metaproj\" (Rebuild target) (2\r\n) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj\" (Rebuild target) (6) ->\r\n (_GenerateProjectPriFileCore target) ->\r\n MakePRI : warning 0xdef00522: Resources found for language(s) 'en' but no resources found for default language(\r\ns): 'nl-NL'. Change the default language or qualify resources with the default language. http://go.microsoft.com/fwlink/\r\n?LinkId=231899 [C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj]\r\n MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/app_name'. The application ma\r\ny throw an exception for certain user configurations when retrieving the resources. [C:\\Users\\Fokke\\AppData\\Local\\Temp\\a\r\nppc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj]\r\n\r\n\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.sln\" (rebuild target) (1) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj.metaproj\" (Rebuild target) (2\r\n) ->\r\n \"C:\\Users\\Fokke\\AppData\\Local\\Temp\\appc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj\" (Rebuild target) (6) ->\r\n (_SplitResourcesPri target) ->\r\n MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/app_name'. The application ma\r\ny throw an exception for certain user configurations when retrieving the resources. [C:\\Users\\Fokke\\AppData\\Local\\Temp\\a\r\nppc-liveviewer-app\\phone.x86\\LiveViewer.vcxproj]\r\n\r\n 9 Warning(s)\r\n 0 Error(s)\r\n\r\nTime Elapsed 00:00:44.17\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: DefaultLanguage property should be set (to \"en\") in manifest", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 4.1.0.v20150701131146", "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "369372", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/470\r\n\r\nh5.Steps to Test\r\n\r\n* Create new Titanium app project using {{appc new}}\r\n* Compile it using {{ti build --platform windows --vs-target 12.0 --win-publisher-id 00AFB000-00F0-0F00-0000-C00000EDBD00 --target ws-local --build-only}}\r\n* See if compile log doesn't show {{warning APPX1901: The DefaultLanguage property is either missing...}} warning\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-09T06:40:22.000+0000", "updated": "2015-11-09T06:40:22.000+0000" }, { "id": "376142", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-05T19:57:42.000+0000", "updated": "2016-02-05T19:57:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }