[TIMOB-24946] Ability to have 3rd party types as members in UWP module
GitHub Issue | n/a |
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-07-12T22:30:27.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.2.0 |
Components | Windows |
Labels | n/a |
Reporter | Victor Vazquez Montero |
Assignee | Kota Iguchi |
Created | 2017-07-06T20:14:52.000+0000 |
Updated | 2017-08-09T21:56:04.000+0000 |
Description
Description
When referencing a module in a Windows Titanium App whose include export files contain types from a third party library, the App fails to compile since the appropriate references are not added to the TitaniumWindows_Native project.
These references are added to the App package project; they should also be added to the TitaniumWindows_Native project.
Currently, we do have a workaround which is opening the solution in the User/.titanium/vsbuild folder and add those reference manually. At developing time, the time spent doing these manual steps do add up.
other information
Customer tried it using SDK 6.2.0.v20170531081104 and was still unable to build and App directly from the CLI that references their module which contains references to types from 3rd party libraries. Those libraries are indeed included in the App's main executable project but not in the TitaniumWindows_Native one thus, causing the build error.
Attachments
Use of 3rd party Windows Runtime Component (winmd) libraries in modules should have been enabled as of TIMOB-24101, do you mean * Use of 3rd party Windows Runtime component (.winmd) failed, OR * Use of C++ libraries such as DLL & headers (*.hpp) failed?
https://github.com/appcelerator/titanium_mobile_windows/pull/1040
Verified fix in SDK Version 6.2.0.v20170808012225 and SDK Version 7.0.0.v20170808071205. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1040