适用于windows phone 8.1的VS2015 cordova模拟器失败



当我在Windows 8.1手机模拟器上部署visual studio 2015 CTP 5(运行在Windows 8.1 enterprise x64上)的cordova应用程序时,我收到以下错误:

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.   

我已经通过Visual Studio 2015 CTP 5安装了最新版本的windows phone 8.1 SDK和模拟器。

模拟器正在启动并进入窗口,但当它尝试部署应用程序时失败了。以下是构建/部署过程的输出:

1>------ Build started: Project: <Project Name>, Configuration: Debug Windows Phone (Universal) ------
1>C:Program Files (x86)MSBuildMicrosoftVisualStudiov14.0TypeScriptMicrosoft.TypeScript.targets(102,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1>  GeneratedJavascript=
1>  D:DevMobile<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.0Common7IDEExtensionsglvgt5lz.2qppackagesvs-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模拟器时,我没有问题。

我遇到了同样的问题,但有一个解决方法。通过"Windows Phone应用程序部署8.1"程序进行手动部署即可。

您可以在"\bld\Debug\platforms\windows\AppPackages"文件夹中找到要部署的包。请注意,Debug是构建配置,Windows则是目标平台。

最新更新