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.

Build Unity Application with Mono C# Compiler

I am working on porting an existing Unity application to HoloLens. There was a massive amount of script compilation errors if I set the Target Platform to "Windows Store" and then build the application. Most of the errors came from the incompatible APIs between Mono and .NET Core. The errors are removed if I set "Compilation Overrides" to "None" which force the application to use the Mono C# compiler / library. (reference: https://docs.unity3d.com/Manual/windowsstore-faq.html)

However, although the Build succeeds and generates the VS .sln under the output folder, it's still impossible to compile the solution in Visual Studio 2015. It seems VS2015 are still using .NET Core libraries when building the application, like the "Compilation Overrides" is not effective. (Microsoft.NETCore.UniversalWindowsPlatform and WinRTLegacy) is visible in the references of the generated projects)

My questions are: Does HoloLens application have to use the .NET Core compiler? How to get the application running in Window Store environment if it relies on APIs which only available in Mono but not .NET Core?

Thank you very much!

Best Answer


  • Thank you, ahillier! The information is helpful.

    Do you know which .NET Framework version does HoloLens support?

Sign In or Register to comment.