delpoy to hololens2 , cannot pair with Hololens2 , vs don't show the window about pin

zhenghui yang 6 Reputation points
2022-09-06T04:12:20.613+00:00

When I first deploy to hololens2 with vs2022 . according to the article , the first time to deploy , we need pair with hololens . but vs don't show the pin window, so i have no chance to input pin number. and it show a error , cann't fin the device 127.0.0.1.

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
403 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft Vendor
    2022-09-07T02:46:07.057+00:00

    Hello, Welcome to Microsoft Q&A,

    If you are deploying using USB and have configured it correctly according to Using Visual Studio to deploy and debug - Mixed Reality | Microsoft Learn, then please check that your Visual Studio has the USB Device Connectivity component installed.
    Also, you can switch to Remote Machine and check if your HoloLens device is auto-detected in Project->Properties->Configuration Properties->Debugging->Machine Name.

    ----
    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Lino Merz 0 Reputation points
    2024-11-04T11:27:03.42+00:00

    Hello Mister Wang, I deployed the last couple of months many times to the hololens but since last week I cannot deploy to it anymore. Because I have the same problem as stated above. When I tried to deploy via device, the error message "failed to connect to device 127.0.0.1" is showing up. But it cant be solved by just changing to remote machine. I tried it with reinstalling the hololens2 but after the reinstall the window where I should input the pin for pairing vs with the hololense2 is not showing up, i tried device and remote machine. It could be that the problem is from an update for the Hololense, I made one last week.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.