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.
I unintentionally created this. Closing.