Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24928

Windows: Building an app with hyperloop usage with VS 2017 fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Hyperloop 2.1.2, Release 6.2.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Windows 10 Pro
      Visual Studio 2017
      Ti SDK: 6.2.0.v20170630062735 (custom build with titanium_mobile_windows#959 vs 2017 support)

    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 SDK

      Description

      Description

      Building an app with hyperloop usage will error with the below, it looks like the import no longer resolves correctly as on my machine with VS2017, searching I found it here

      C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\WindowsXaml\v15.0\Microsoft.Windows.UI.Xaml.CSharp.targets , but based off the path I assume this will be different with all of the various versions of VS2017

      [INFO] :   Writing CMake module finder C:\Users\ewan\.titanium\vsbuild\doug\cmake\FindHyperloop.cmake
      [INFO] :   Writing appxmanifest C:\Users\ewan\.titanium\vsbuild\doug\Package.store.appxmanifest.in
      [INFO] :   Writing appxmanifest C:\Users\ewan\.titanium\vsbuild\doug\Package.phone.appxmanifest.in
      [INFO] :   Writing appxmanifest C:\Users\ewan\.titanium\vsbuild\doug\Package.win10.appxmanifest.in
      [INFO] :   Generating Native Types
      [INFO] :   Setting up native modules for CMakeLists.txt...
      [ERROR] :  C:\Users\ewan\.titanium\vsbuild\doug\TitaniumWindows_Hyperloop\win10\TitaniumWindows_Hyperloop.csproj(118,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\Microsoft.Windows.UI.Xaml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
      

      Steps to reproduce
      1. Add hyperloop to an existing project
      2. Add the following code

      var List = require('System.Collections.Generic.List<System.Int32>');
      

      1. Build for windows appc run -p windows -T ws-local

      Actual

      Build process errors with the above

      Expected

      Build process should not error out

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10864
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code