我有以下几个解决办法:
我在我的PC上安装了带有更新5( 5 )的VS2013和带有更新1( Update 1 )的VS2015。
操作系统为Windows10.0.10586.318。
这是一个新的安装,因为我重新安装了整个PC由于其他原因.
注意:在重新安装之前,我在更新2中使用了VS2015 (与更新5一起使用了VS2013 ),但也出现了同样的问题。因此,安装更新2似乎不是一个解决方案。
在Configuration中,Android、WP8和WP8.1项目在“部署”列中签入。
我想使用WP8模拟器来调试我的WP8项目。
指定的通信资源(端口)已被另一个应用程序使用。 在statusbar中:启动TaskHost.exe失败.
在输出窗口中:
1>------ Build started: Project: X.Y.WP8, Configuration: Debug Any CPU ------
1> X.Y.WP8 -> D:\Programs\DotNET\Visual Studio 2015 Projects\Y\X.Y.WP8\Bin\Debug\X.Y.WP8.dll
1> Begin application manifest generation
1> No changes detected. Application manifest file is up to date
1> Begin Xap packaging
1> Creating file X.Y.WP8_Debug_AnyCPU.xap
1> Adding .... (lots of files)
1> Xap packaging completed successfully
2>------ Deploy started: Project: X.Y.WP8, Configuration: Debug Any CPU ------
2>Deploying D:\Programs\DotNET\Visual Studio 2015 Projects\Y\X.Y.WP8\Bin\Debug\X.Y.WP8_Debug_AnyCPU.xap...
2>Connecting to Emulator WVGA 512MB...
2>The application is already installed on the device. Checking if an incremental deployment is possible...
2>Doing full deployment as project was cleaned and rebuilt...
2>Uninstalling the application...
2>Installing the application...
2>Updating information related to installed files...
2>Deployment of D:\Programs\DotNET\Visual Studio 2015 Projects\Y\X.Y.WP8\Bin\Debug\X.Y.WP8_Debug_AnyCPU.xap succeeded.
========== Build: 1 succeeded, 0 failed, 3 up-to-date, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========当我尝试开始调试时,只有一个VS2015实例正在运行,而没有其他任何实例。
我读了很多关于相同或类似问题的答案,但都没有用。
...\AppData\Local\Microsoft\Phone Tools\CoreCon\文件夹的内容。VS2013知道什么是VS2015不知道的?
作为解决办法,对于WP8项目:
但目标是能够在WP8中使用VS2015仿真器。
发布于 2017-12-22 20:31:04
在VS2015中使用WP8.1模拟器。
https://stackoverflow.com/questions/37555368
复制相似问题