Steps to reproduce:
Use the GA environment above.
Create a new project appc new
In the app.js add the line below or follow the docs tutorial.
Docs
http://docs.appcelerator.com/platform/latest/#!/guide/Windows_Runtime_Direct_API_Access
App.js
{noformat}
var win = require('Windows.UI.Xaml.Window');
{noformat}
Actual
{noformat}
[WARN] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.ApplicationModel.DataTransfer.DataPackage.cpp(224): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackage::SetUri': marked as deprecated [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[WARN] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.ApplicationModel.DataTransfer.DataPackageView.cpp(254): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackageView::GetUriAsync': marked as deprecated [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(195): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(195): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(195): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(197): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(197): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(174): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(174): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(174): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(176): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(176): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[WARN] : "C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\WindowsHyperloop.sln" (default target) (1) ->
"C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj.metaproj" (default target) (2) ->
"C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj" (default target) (4) ->
(ClCompile target) ->
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.ApplicationModel.DataTransfer.DataPackage.cpp(224): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackage::SetUri': marked as deprecated [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.ApplicationModel.DataTransfer.DataPackageView.cpp(254): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackageView::GetUriAsync': marked as deprecated [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : "C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\WindowsHyperloop.sln" (default target) (1) ->
"C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj.metaproj" (default target) (2) ->
"C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj" (default target) (4) ->
(ClCompile target) ->
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(195): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(195): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(195): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
[ERROR] : C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(196): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(197): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFile.cpp(197): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(174): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(174): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(174): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2065: 'StorageProvider': undeclared identifier [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(175): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(176): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\Native\src\Windows.Storage.StorageFolder.cpp(176): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\Users\Tester\.titanium\vsbuild\windowsHyperloop\win10.x86\Native\TitaniumWindows_Native.vcxproj]
2 Warning(s)
18 Error(s)
Time Elapsed 00:05:20.49
{noformat}
Expected
No error is shown and the application builds successfully.
Pushed first working version which uses C# reflection. https://github.com/appcelerator/titanium_mobile_windows/pull/888
Changed this ticket to "Epic" because this ticket is too big to tackle in one sprint. I will split some tasks related to this so we can keep track on it.
[~kota] [~emerriman] how much product documentation do we need here https://docs.appcelerator.com/platform/latest/#!/guide/Enabling_Hyperloop can you get that going with our documentations team? Thanks
I guess we don't need much changes in [Enabling Hyperloop](https://docs.appcelerator.com/platform/latest/#!/guide/Enabling_Hyperloop) even when we have Windows support. I will update it by myself wherever necessary. FYI I am adding Windows-specific documentations under [Hyperloop_Guides](https://docs.appcelerator.com/platform/latest/#!/guide/Hyperloop_Guides).
Great, thanks [~kota]
Closing this as "Fixed", we have finished all sub-tasks, and then finally we released Hyperloop 2.1.0! (y)