The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Error while deploying with Visual Studio 2017
Hi everyone.
I just begin using Hololens.
I tried to deploy sample code from Windows universal samples https://developer.microsoft.com/en-us/windows/samples
However, when I try, VS keeps throwing error
DEP6720: Failed to deploy package 'Standard Collector Bridge' (98E13D7B-2AC3-4B11-BBEB-758AD8BD607A). DEP6959: Error removing the file from the remote device: 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\VSRemoteTools\x86\1042\DiagnosticsHubMsg.dll. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.
C# code also throws the error, but it deploys
C++ deploy keeps failing
Could anyone give me some help?
Or anyone who solved the problem?
Best Answer
-
OptionsSukChoi ✭
Okay.
Problem solved.
Just do a factory reset from settings.
Don't know how but it solved.0
Answers
I am not sure whether these are made for HoloLens.
However, make sure you enter the correct CPU-Type(x86 for HoloLens). Did you enable Developer Modes on both devices?
Yes I entered correct CPU type.
And tried to deploy by remote machine(wi-fi) and device(usb) settings.
The samples are all UWP apps.
Just in case I created UWP app template and tried to deploy
C++ app failed during deployment with the same error above
While, C# app successfully deployed, but with the error.
Just to show, I attach captured shot of hololens running blank C# app.
I think reset might be a solution.
Okay.
Problem solved.
Just do a factory reset from settings.
Don't know how but it solved.
Could you elaborate? I am having a similar issue after Hololens update