How to solve DEP6500 and DEP6701 errors?

无人久伴 提交于 2019-12-22 18:33:40

问题


I have a project called BTLE in its own solution. Loading the project and running it with the debugger on the phone works find.

I have a second solution that Loads and compile fine as well.

I added the BTLE project (Add/Existing Project) to the second solution, compiled it and tried to run it in the debugger.

I can see the application was loaded fine to the phone (I can run it from the phone), but the debugger will not start and I am getting the following error messages:

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 ==========

Any idea why I am getting these error messages?


回答1:


You did not mention if your multiple project solutions have multiple startups.

See screenshot below.

Under Action, Change the relative actions of each projects and try deploying.




回答2:


Concerning the last answer in "A specified communication resources(port) is already in use" when attaching the debugger and the fact that you first deployed BTLE and afterwards deployed a project containing BTLE. I don't think you can easily put the same Module (with the same ID) twice into Windows Phone and then debug it. I don't even know, if there is a public writeable GAC in Windows Phone to avoid this effect.
Would you try to change the Project GUID (Project Setting->Application->Assembly Info) of your BTLE Project for your second solution? Or remove the first BTLE Project from the phone (and maybe reboot)?



来源:https://stackoverflow.com/questions/37928281/how-to-solve-dep6500-and-dep6701-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!