Когда я развертываю приложение Cordova из Visual Studio 2015 CTP 5 (работает в Windows 8.1 Enterprise x64) на эмуляторе мобильного телефона Windows 8.1, я получаю следующую ошибку:
Error Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor
named '169.254.72.195:8116'.
The remote debugger is not an acceptable version.
Я установил последнюю версию Windows Phone 8.1 SDK и эмуляторов через Visual Studio 2015 CTP 5.
Эмулятор запускается и входит в Windows, но когда он пытается развернуть приложение, он терпит неудачу. Вот результат процесса сборки/развертывания:
1>------ Build started: Project: <Project Name>, Configuration: Debug Windows Phone (Universal) ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(102,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> GeneratedJavascript=
1> D:\Dev\Mobile\<Project Name>\<OneShare Mobile>>call "C:\Program Files (x86)\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.33 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\glvgt5lz.2qp\packages\vs-mda
2>------ Deploy started: Project: <project name>, Configuration: Debug Windows Phone (Universal) ------
2>Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named '169.254.72.195:8116'. The remote debugger is not an acceptable version.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Я проверил, что эмулятор имеет именно этот IP-адрес и подключение к Интернету, так как я могу получить доступ к http://www.google.com
VS2015 сообщает об ошибке во время сборки, и если я отвечаю «да» на вопрос, хочу ли я продолжить, я получаю эту ошибку:
Value cannot be null. Parameter name: source
Когда я пробую эмулятор Windows 8 или Android, у меня нет проблем.