-
Notifications
You must be signed in to change notification settings - Fork 153
Building
HoloLensForCV project requires Visual Studio 2017 Update 3 to build. You can get a free copy of Visual Studio Community here.
In the Visual Studio Installer, make sure to select the "Universal Windows Platform development" workload.
There is no separate SDK for Windows Mixed Reality development. There are however additional tools -- like the HoloLens Emulator -- that are available for download from here.
We have seen a few build errors pop up on fresh machines. Here's a few things to check.
The build will fail if Visual Studio is unable to retrieve a few NuGet packages the HoloLensForCV project uses.
Check if nuget.org is a on the list of available package sources by selecting the "Tools", "Options" Visual Studio menu, and then choosing "NuGet Package Manager", "Package Sources". There should be a source called "nuget.org" with source referring to "https://api.nuget.org/v3/index.json".
Then, select "Tools", "NuGet Package Manager", "Manage NuGet Packages for Solution" Visual Studio menu. Make sure that the "nuget.org" package source is selected and click "Restore".
One of the sample demonstrates how to use HoloLensForCV from a C# application. On some machines, we have observed that the required .NET package (Microsoft.NETCore.UniversalWindowsPlatform) is not present.
To install Microsoft.NETCore.UniversalWindowsPlatform, select "Tools", "NuGet Package Manager", "Package Manager Console" in Visual Studio menu and run the following command in the Package Manager Console:
Install-Package Microsoft.NETCore.UniversalWindowsPlatform