Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24946] Ability to have 3rd party types as members in UWP module

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-07-12T22:30:27.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sRelease 6.2.0
ComponentsWindows
Labelsn/a
ReporterVictor Vazquez Montero
AssigneeKota Iguchi
Created2017-07-06T20:14:52.000+0000
Updated2017-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

FileDateSize
com.appc.module.test3-windows-1.0.0.zip2017-07-12T07:00:42.000+0000658651
com.appc.module.test3-windows-1.0.0-src.zip2017-07-12T07:13:07.000+00002832

Comments

  1. Kota Iguchi 2017-07-07

    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?
  2. Kota Iguchi 2017-07-12

    https://github.com/appcelerator/titanium_mobile_windows/pull/1040
  3. Samir Mohammed 2017-08-09

    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

JSON Source