Suisse
Suisse

Reputation: 3613

Trying to deploy to Hololens2 over Remote machine from Visual Studio fails

Ip address is already updated (with no portnumber). But I get this error, when I try to deploy to hololens over wifi. Developper modes are enabled (win + holo), no firewalls; same wifi. I don't know what to do more.

---------------------------
Microsoft Visual Studio
---------------------------
BootstrapForDebugging returned null instead of IPAddress & PortNumber of the remote msvsmon process.
---------------------------
OK   
---------------------------



Severity    Code    Description Project File    Line    Suppression State
Error       DEP6701: Bootstrapping failed with unexpected error: ArgumentException - Parameter cannot be null or empty.
Parameter name: target [0x80070057] MRTK Tutorial           

Restarted everything.

Its a unity project using the new MRTK. Deploying over USB is working fine. Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.2.1

I installed Microsoft Visual Studio Professional 2022 (2) (64-bit) - Current Version 17.3.4 and did the same settings and now it's magically working (also in the Community version it's working.. since the project is the same)

enter image description here

Upvotes: 0

Views: 680

Answers (1)

Zuocheng Wang - MSFT
Zuocheng Wang - MSFT

Reputation: 816

It is still difficult to troubleshoot this issue based on current information. The root cause can be varied. However, after you upgrade the visual studio, this issue has been fixed. I recommend that you keep Visual Studio updated to reduce the occurrence of such issues and feel free to get HoloLens2 support from Microsoft if you have any other questions.

Upvotes: 2

Related Questions