Home > other >  Deploy options column greyed out, and no platform choices to deploy - Visual Studio 2022, Hololens 1
Deploy options column greyed out, and no platform choices to deploy - Visual Studio 2022, Hololens 1

Time:02-23

I'm having an issue with VS where I can't select a platform to deploy to, or set any deploy options.

I'm trying to deploy a Unity (2021.1.16f) build to Hololens 1 via Visual Studio 2022.

Here are my Unity build settings:

Unity build settings

But when I open the project in VS, I can't select a deploy platform (start is the only option).

Deploy options

And, the deploy checkbox is disabled in the config manager menu.

Config Manager

I've triple checked that the project that shares a name w/ my Unity scene is set as the startup project, and that hasn't helped.

Anyone ever run into this?

CodePudding user response:

First of all, for HoloLens 1 development, the Unity 2019.4 LTS is recommended.

But when I open the project in VS, I can't select a deploy platform (start is the only option)

Please make sure the best matched VS version and components listed in this doc is installed.

Note about HoloLens (1st gen) and desktop Windows Mixed Reality headsets: If you are only developing applications for desktop Windows Mixed Reality headsets or HoloLens (1st gen), you can use Visual Studio 2017 and use the Windows SDK installed by it.

In terms of the HoloLens 1 app deployment setting in Visual Studio, normally we will use the following ways:

  1. Remote connection and deployment.

    Ensure dev PC and HoloLens device in the same local network, follow this doc to deply your app: Remote connection

  2. Deploy app via USB cable. Please check out the doc

  3. Deploying an app to the HoloLens (1st gen) Emulator

  • Related