mtaulty / QrCodes

MIT License
30 stars 20 forks source link

Windows Runtime type 'Windows.Media.Capture.MediaCaptureMemoryPreference' #3

Open sw-ms-ankitsangani opened 7 years ago

sw-ms-ankitsangani commented 7 years ago

I run your project in Hololens but i got this Error Could not find Windows Runtime type 'Windows.Media.Capture.MediaCaptureMemoryPreference'. Am I missing something? Thanks, Ankit

vicky707 commented 5 years ago

I run your project in Hololens but i got this Error Could not find Windows Runtime type 'Windows.Media.Capture.MediaCaptureMemoryPreference'. Am I missing something? Thanks, Ankit

Have you solved your problem?

mtaulty commented 5 years ago

Sorry - I hadn't spotted this issue or any of the issues on this project, my mail filter somehow didn't notify me so I'm late coming to this. I just cloned the repo myself. I first built the MediaFrameQrProcessing project in Visual Studio and (after a 'Rebuild') that worked fine in building me an x86 library (I built debug) and I brought that into the TestAppXaml3D project and built that which seemed fine too. I added a .appx package for the debug version of the app there.

I then opened up the Unity project (Unity 2017.4.17f1) and updated the version of the HoloToolkit in there so that it would build in that version of Unity. I brought in the rebuilt x86 library from the MediaFrameQrProcessing project and built that out, ran it and it seemed to work fine too.

If you could give me more clues as to where the error that you're seeing is coming from (e.g. compilation inside of Unity? compilation in Visual Studio? which source file? etc.) then I'll try to help more.