Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24928] Windows: Building an app with hyperloop usage with VS 2017 fails

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-08-21T09:11:29.000+0000
Affected Version/sHyperloop 2.1.2, Release 6.2.0
Fix Version/sRelease 6.2.0
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeKota Iguchi
Created2017-07-03T14:53:38.000+0000
Updated2017-08-22T09:30:05.000+0000

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

Add hyperloop to an existing project

Add the following code

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

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

Actual

Build process errors with the above

Expected

Build process should not error out

Comments

  1. Kota Iguchi 2017-08-09

    [~eharris], I believe [latest commit to TIMOB-24189](https://github.com/appcelerator/titanium_mobile_windows/pull/959/commits/43d6b4a0332b59bbc36efb5f23567d8b4591dc6f) fixes this issue. (I just updated nuget.exe). Could you confirm?
  2. Ewan Harris 2017-08-09

    [~kiguchi] Awesome! That update is allowing me to use Hyperloop just fine!
  3. Ewan Harris 2017-08-22

    Verified changes in 6.2.0.v20170821203442

JSON Source