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

Missing Viewer dependency when deploying to HoloLens #89

Closed LDeakin closed 7 years ago

LDeakin commented 7 years ago

When running the Viewer (in MixedRemoteViewCompositor) on my local machine there are no problems. However, when deploying to HoloLens the MixedRemoteViewCompositor dependency is not found. This is without modification to MixedRemoteViewCompositor.sln or Viewer.sln. Same behavior in Debug/Release.

Is anyone else having this issue/aware of a solution?

Thanks

rudyjason commented 7 years ago

Have you built the MixedRemoteViewCompositor? I have no problems after following the instructions in the README.md in the sample folder (the second part, specifically about the viewer application). It seems like you would be missing the MixedRemoteViewCompositor.winmd which is generated by rebuilding the solution MixedRemoteViewCompositor.sln. The MixedRemoteViewCompositor.winmd should then be in the folder "Build/Release/Plugins/WSA/x86"

LDeakin commented 7 years ago

I have built the MixedRemoteViewCompositor and the MixedRemoteViewCompositor.winmd/.dll are in that location. They are being correctly found by VS and are being copied into the bin folder on build. No problem picking it up when running on my local machine, but deploying to hololens or emulator the dll isn't found.

rudyjason commented 7 years ago

hmmm, it works over here. Sorry I can't help you further

LDeakin commented 7 years ago

Switching to VS2017 fixed the issue for me. Thanks anyway @rudyjason .