Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Referencing .NET DLLs from HoloLens UWP?

I have some precompiled 64-bit .NET 3.5 DLLs. I know that can't work on HoloLens since it is 32-bit. But, can I just recompile for 32-bit? does it also need to be .NET 4 or 4.5? Or will nothing but UWP work? If none of that works, I vaguely recall hearing somewhere about a UWP conversion for older apps... Is that possible?

Answers

  • Options

    Would think it would have to be 32-bit x86 .NET Core (AKA 5)...or at least that would be something more likely to work. Some times for common libraries you can use Nuget and not have to think about it... I was trying to get a 32 bit .NET 4 dll to work but was not successful with that one at least.

  • Options
    TonyTony
    edited June 2016

    I built a 32-bit x86 .NET 3.5 DLL and referenced from a UWP app and deployed it to HoloLens and that works. Unfortunately, it looks like there are Win32 native calls in the DLL I am trying to use, so it's not truly managed. Apparently, if you have Interop in the DLL, it won't work.

  • Options

    Also, it appears that Project Centennial can't help because it wraps whole apps from the setup msi, so it looks like there is no way to UWPify a DLL that isn't pure .NET already.

Sign In or Register to comment.