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

Build Error #120

Closed hanchao352 closed 6 years ago

hanchao352 commented 7 years ago

When I Build SLN, Build Appx,then Install,
report error: MSBuild error (code = 1) UnityEngine.Debug:LogError(Object) HoloToolkit.Unity.BuildDeployTools:BuildAppxFromSolution(String, String, Boolean, String, String, Boolean) (at Assets/HoloToolkit/Build/Editor/BuildDeployTools.cs:131) HoloToolkit.Unity.BuildDeployWindow:OnGUI() (at Assets/HoloToolkit/Build/Editor/BuildDeployWindow.cs:210) UnityEditor.DockArea:OnGUI()

How to solve it?

fieldsJacksonG commented 7 years ago

What version of VS are you using?

The most recent pull request allows for VS 2017: https://github.com/Microsoft/HoloLensCompanionKit/pull/146

You will need to make sure the values in the Build Window are correct MSBuild version: 14 for VS 2015, 15 for VS2017 Build Configuration: Release username/ password: HoloLens device portal credentials

You can also use File>Build Settings to build your application conventionally and see if you have any compile issues with your code.

keveleigh commented 6 years ago

Looks like this should be resolved with #146. Please reopen if not.