Visual Studio build error after adding com.phonegap.plugins.facebookconnect

I reproduced this issue on both VS2013 and VS2015. Both updates correspond to all updates.

Steps to reproduce the problem:

  • Create a new Blank App project (Apache Cordova).
  • Build and notice that everything is working fine.
  • Add this manually or using the configuration tool.
  • Build and not notice anything. I get the error below.

I am not sure why this is happening since I am not being given any information in the error below. Any ideas on how I can get more detailed error information? Or did anyone come across this problem and fix it? If so, how?

1> ------ Build started: Project: Twelve, Configuration: Android debugging ------
1> C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v14.0 \ TypeScript \ Microsoft. TypeScript.targets (96.5): warning: the TypeScript compiler was not provided with files to compile, so it will skip compilation.
1> GeneratedJavascript =
1> D: \ Documents \ Visual Studio 2013 \ Projects \ Mobile \ Twelve \ Twelve> call "C: \ Program Files (x86) \ nodejs \" \ nodevars.bat
1> Your environment has been configured to use Node .js 0.10.33 (ia32) and npm.
1> ------ Ensuring the correct global installation of the package from the source package directory: C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ Extensions \ aulzf2r2.xwq \ packages \ vs-mda
========== Build: 0 succeeded, 1 failed, 0 updated, 0 skipped ===========
========== Deployment: 0 succeeded, 0 failed, 0 skipped ===========

+4
source share
2 answers

Sorry, I cannot add this as a comment, but go to "Tools"> "Options"> "Projects and Solutions"> "Build and Run" and set the verbosity of the MSBuild project build to "Detailed" or "Diagnostics". You should see a mistake.

I just installed the same plugin 0.11.0 and I get the following error.

3>  TypeError: Cannot use 'in' operator to search for 'APP_ID' in undefined (TaskId:22)
3>Done executing task "MdaVsCli" -- FAILED. (TaskId:22)
3>Done building target "BuildMDA" in project "XXXX.jsproj" -- FAILED.: (TargetId:14)

APP_ID, , , MSDN , Visual Studio Apache Cordova, .

- , , .

+1

, - Cordova Cordova < 5.0.0. , "" , . , Cordova 5.0.0, VS 2015 RC. 5.0.0 , VS .

  • .
  • Cordova 5.0.0 ( > Cordova CLI)
  • :
    • .
    • , :
    • npm install -g cordova
    • cordova plugin nl.x-services.plugins.launchmyapp --variable URL_SCHEME = myscheme

, . , 5.0.0 .

https://www.visualstudio.com/explore/cordova-known-issues-vs

, Facebook Cordova iOS. , VS - NTFS Windows. : https://github.com/Chuxel/taco-tricks/tree/master/ios-plugin-symlink-fix

0

Source: https://habr.com/ru/post/1569767/


All Articles