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.