microsoft / MixedRealityCompanionKit

This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
MIT License
595 stars 288 forks source link

Calibration does not want to build without Visual Studio build tools v141 #162

Closed peaxy-ajemian closed 7 years ago

peaxy-ajemian commented 7 years ago

It does not seem that I can build the calibration tools for spectator view without build tools for v141, which seems to be the toolchain for Visual Studio 2017. Has the project upgraded to this version, and if so what would be the recommended course of action for a team using an older version of Unity? I recognize that the the documentation still seems to say VS2015 with all updates, but did the team developing spectator view upgrade without mentioning it? Retargeting solution also does not seem to be working for me.

Edit (Added Error Message):

Severity Code Description Project File Line Suppression State Error MSB8020 The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install v141 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". SharedHeaders C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets 57

fieldsJacksonG commented 7 years ago

https://github.com/Microsoft/HoloLensCompanionKit/commit/df11091b396b22f8b2ab7e5f126ff5e1a41a69e1

Nothing major changed to support the new toolsets, so you should be able to retarget your solutions to v140 without any issues.

fieldsJacksonG commented 7 years ago

Updated the VS sln's to open in VS 2017 when using the VS version selection. The projects can still be retargeted to earlier versions of VS: https://github.com/Microsoft/HoloLensCompanionKit/pull/168