Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse a package dependency instead of querying for OpenXR #25012
Comments
|
I've tried that. But from my testing, it doesn't work when the app is sideloaded (from Visual Studio or from the Device Portal). My guess is that it only installs the dependency when installed from the store? Let me see what if that's true. |
|
Updating the appxmanifest and cleaning the solution is not enough. The GeneratedFiles directory needs to be deleted too. This, at least, make it so the dependency is properly declared in the final package. I haven't tested yet. |
|
@jdm can you try this on the emulator? For some reason I can't get my emulator to work anymore. Before building, it's important to do a mach clean, or just deleted all the generated files under The warning prompt will likely still show up, it's normal. Do not install anything and try to run a demo.
|
|
I deleted all of support/hololens, did a
|
|
According to our contacts, the PackageDependency doesn't trigger when installing to the emulator via Visual Studio. |
|
That being said, the latest emulator image installed from https://docs.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator (10.0.18362.1034) contains an appropriate openxr runtime (although the existing warning message still appears) that allows me to enter immersive mode. I think the PackageDependency will be good for people sideloading or installing from the store, and anybody developing locally and deploying with visual studio should just be sure to update to the most recent emulator issue. |
This will let us remove the restricted capability. cc @paulrouget