microsoft / HoloLens2ForCV

Sample code and documentation for using the Microsoft HoloLens 2 for Computer Vision research.
MIT License
489 stars 145 forks source link

Validation Error in StreamVisualization #73

Open martinjpratt opened 3 years ago

martinjpratt commented 3 years ago

Hi, not sure if this issue has been covered before. On trying to build the Sensor Visualization sample I'm receiving this error:

Validation error. error 80080204: App manifest validation error: Line 18, Column 76, Reason: The max version tested value must not be less than the min version value. SensorVisualization

Looking at the AppManifest that is built and it is indeed larger. I reset both the min and max versions in the package manifest file to 10.0.0.0 to no avail ether. Any idea what could be happening? I'm using VS Version 16.8.5 and OS version 20291.1000 on the HoloLens.

ylsislove commented 3 years ago

@martinjpratt Hi, this problem should be due to the fact that the version of WIN SDK we specified when installing VS2019 is lower than the version of WIN SDK configured in Sensor Visualization Demo.

For me, the version of WIN SDK I installed is 10.0.18362.0, but the version of WIN SDK configured by Sensor Visualization Demo is 19041.1.191206, so the build will fail.

My solution is as follows:

Hope to help you.