我在自己的解决方案中有一个名为BTLE的项目。加载项目并在phone works find上使用调试器运行它。
我有第二个解决方案,它也可以很好地加载和编译。
我将BTLE项目(添加/现有项目)添加到第二个解决方案中,编译它并尝试在调试器中运行它。
我可以看到应用程序被很好地加载到电话中(我可以从手机上运行它),但是调试器不会启动,我收到以下错误消息:
1>------ Deploy started: Project: BTLE, Configuration: Debug ARM ------
1>Deploying to Phone Internal Storage...
1>Updating the layout...
1>Copying files: Total 2 mb to layout...
1>Checking whether required frameworks are installed...
1>Registering the application to run from layout...
1>Deployment complete (0:00:05.469). Full package name: "76081875-4de1-4857- 8ce6-4e7a580ee1b6_1.0.0.0_arm__fdr7mxj3cnxqw"
2>------ Deploy started: Project: STPWindows, Configuration: Debug ARM ------
2>DEP6500 : A specified communication resource (port) is already in use by another application. 0x89731800:
2>DEP6701 : Bootstrapping failed with unexpected error: 'DEP6500 : A specified communication resource (port) is already in use by another application. 0x89731800: '.
========== Deploy: 1 succeeded, 1 failed, 0 skipped ==========知道为什么我会收到这些错误信息吗?
发布于 2016-07-18 20:56:34
您没有提到您的多个项目解决方案是否有多个初创企业。
见下面的截图。

在“操作”下,更改每个项目的相关操作并尝试部署。
发布于 2016-07-18 07:55:45
关于"A specified communication resources(port) is already in use" when attaching the debugger中的最后一个答案,以及您首先部署了BTLE,然后部署了一个包含BTLE的项目。我不认为您可以轻松地将同一个模块(具有相同的ID)放入Windows两次,然后再调试它。我甚至不知道,是否有一个公开的可写的GAC在Windows中,以避免这种影响。
您是否会尝试更改您的BTLE项目的第二个解决方案的Project (项目设置->应用程序->组装信息)?或者从电话中删除第一个BTLE项目(或者重新启动)?
https://stackoverflow.com/questions/37928281
复制相似问题