我在自己的解决方案中有一个名为BTLE的项目。加载项目并在电话上使用调试器运行它可以找到。

我还有第二种解决方案,可以很好地加载和编译。

我在第二个解决方案中添加了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 ==========


知道为什么我会收到这些错误消息吗?

最佳答案

您没有提到您的多个项目解决方案是否有多个启动公司。

请参见下面的屏幕截图。

c# - 如何解决DEP6500和DEP6701错误?-LMLPHP

在“操作”下,更改每个项目的相对操作,然后尝试部署。

关于c# - 如何解决DEP6500和DEP6701错误?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37928281/

10-13 07:48
查看更多