【问题标题】:How to solve DEP6500 and DEP6701 errors?如何解决 DEP6500 和 DEP6701 错误?
【发布时间】:2016-06-20 17:18:17
【问题描述】:

我在自己的解决方案中有一个名为 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# uwp windows-phone uwp-xaml


【解决方案1】:

你没有提到你的多项目解决方案是否有多个初创公司。

请看下面的截图。

在 Action 下,更改每个项目的相关操作并尝试部署。

【讨论】:

    【解决方案2】:

    关于"A specified communication resources(port) is already in use" when attaching the debugger 中的最后一个答案,以及您首先部署了 BTLE,然后又部署了一个包含 BTLE 的项目这一事实。我不认为您可以轻松地将相同的模块(具有相同的 ID)两次放入 Windows Phone,然后对其进行调试。我什至不知道,Windows Phone 中是否有公共可写 GAC 来避免这种影响。
    您是否会尝试为您的第二个解决方案更改 BTLE 项目的项目 GUID(项目设置->应用程序->装配信息)?或者从手机中删除第一个 BTLE 项目(并可能重新启动)?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-06
      • 1970-01-01
      • 1970-01-01
      • 2020-12-26
      • 1970-01-01
      • 2021-12-29
      相关资源
      最近更新 更多