You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kelvin Dart (JIRA)" <ji...@apache.org> on 2015/08/05 12:00:06 UTC

[jira] [Updated] (CB-9454) `cordova build` does not execute with the phonegap-plugin-barcodescanner plugin on Windows 10

     [ https://issues.apache.org/jira/browse/CB-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Dart updated CB-9454:
----------------------------
    Description: 
Whenever I add the phonegap-plugins-barcodescanner using:

{code}
cordova plugin add phonegap-plugin-barcodescanner
{code}

I receive the following error:

{code}
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.targets(19,3): error MS
B4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\8.1\Microsoft.Windows.UI.Xa
ml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exist
s on disk. [C:\Users\kelvi\Desktop\mpro5\plugins\phonegap-plugin-barcodescanner\src\windows\lib\WinRTBarcodeReader.cspr
oj]
{code}

Trying to find that path, I can navigate to: C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\. In this directory, there are four files:

Microsoft.Windows.UI.Xaml.Common.Targets
Microsoft.Windows.UI.Xaml.CPP.Targets
Microsoft.Windows.UI.Xaml.CSharp.targets
Microsoft.Windows.UI.Xaml.VisualBasic.Targets

As a cheap hack, I tried creating a folder here called 8.1 and then executed a {{monospaced}}cordova build{{monospaced}} again. This time I received the following error:

{code}
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.targets(19,3): error MS
B4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\8.1\8.1\Microsoft.Windows.UI.Xa
ml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exist
s on disk. [C:\Users\kelvi\Desktop\mpro5\plugins\phonegap-plugin-barcodescanner\src\windows\lib\WinRTBarcodeReader.cspr
oj]
{code}

So one of the the Node scripts somewhere is doing a system check I presume and appending 8.1 to the end?

  was:
Whenever I add the phonegap-plugins-barcodescanner using:

{{code}}
cordova plugin add phonegap-plugin-barcodescanner
{{code}}

I receive the following error:

{{code}}
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.targets(19,3): error MS
B4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\8.1\Microsoft.Windows.UI.Xa
ml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exist
s on disk. [C:\Users\kelvi\Desktop\mpro5\plugins\phonegap-plugin-barcodescanner\src\windows\lib\WinRTBarcodeReader.cspr
oj]
{{code}}

Trying to find that path, I can navigate to: C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\. In this directory, there are four files:

Microsoft.Windows.UI.Xaml.Common.Targets
Microsoft.Windows.UI.Xaml.CPP.Targets
Microsoft.Windows.UI.Xaml.CSharp.targets
Microsoft.Windows.UI.Xaml.VisualBasic.Targets

As a cheap hack, I tried creating a folder here called 8.1 and then executed a {{code}}cordova build{{code}} again. This time I received the following error:

{{code}}
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.targets(19,3): error MS
B4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\8.1\8.1\Microsoft.Windows.UI.Xa
ml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exist
s on disk. [C:\Users\kelvi\Desktop\mpro5\plugins\phonegap-plugin-barcodescanner\src\windows\lib\WinRTBarcodeReader.cspr
oj]
{{code}}

So one of the the Node scripts somewhere is doing a system check I presume and appending 8.1 to the end?


> `cordova build` does not execute with the phonegap-plugin-barcodescanner plugin on Windows 10
> ---------------------------------------------------------------------------------------------
>
>                 Key: CB-9454
>                 URL: https://issues.apache.org/jira/browse/CB-9454
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Windows
>    Affects Versions: 5.1.1
>         Environment: Windows 10 Professional; Visual Studio Professional 2015 (it also happens without VS2015 installed)
>            Reporter: Kelvin Dart
>            Priority: Critical
>              Labels: windows10
>
> Whenever I add the phonegap-plugins-barcodescanner using:
> {code}
> cordova plugin add phonegap-plugin-barcodescanner
> {code}
> I receive the following error:
> {code}
> C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.targets(19,3): error MS
> B4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\8.1\Microsoft.Windows.UI.Xa
> ml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exist
> s on disk. [C:\Users\kelvi\Desktop\mpro5\plugins\phonegap-plugin-barcodescanner\src\windows\lib\WinRTBarcodeReader.cspr
> oj]
> {code}
> Trying to find that path, I can navigate to: C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\. In this directory, there are four files:
> Microsoft.Windows.UI.Xaml.Common.Targets
> Microsoft.Windows.UI.Xaml.CPP.Targets
> Microsoft.Windows.UI.Xaml.CSharp.targets
> Microsoft.Windows.UI.Xaml.VisualBasic.Targets
> As a cheap hack, I tried creating a folder here called 8.1 and then executed a {{monospaced}}cordova build{{monospaced}} again. This time I received the following error:
> {code}
> C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.targets(19,3): error MS
> B4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\8.1\8.1\Microsoft.Windows.UI.Xa
> ml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exist
> s on disk. [C:\Users\kelvi\Desktop\mpro5\plugins\phonegap-plugin-barcodescanner\src\windows\lib\WinRTBarcodeReader.cspr
> oj]
> {code}
> So one of the the Node scripts somewhere is doing a system check I presume and appending 8.1 to the end?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org