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.
Uploading hololens app to dev center
I' trying to upload an app but it was refused on the dev center for showing a problem due to dll's that can't be used. It claims to need the .NET native to be ticked.
But when .NET native is set on, I get mismatch between the processor architecture being AMD64 and the reference being x86. This is while generating the package in VS.
I do not have AMD64 ticked when creating the package and the platform target in Build settings is x86. I also have Release selcted in the Build.
Configuration manager shows x86 with Release.
What is going on?
Thanks
EDIT: It requires I upload the appxupload file to the dev center but this one is not generated from the build. I do have the AppxPackageIsForStore true in csproj. But it only creates appxbundle, appxsym Security certificate and Add-AppDevPackage file (along some folders).
Best Answer
-
Options
Ok, so the culprit was F-secure. It seems VS runs some app to build and F-Secure blocks for being a virus.
So when building, disable your F-secure.
Just wanted to thank Holosheep as well. And to answer the last comment, all worked fine on device.
I just tried with an empty project and it went to the dev center. I'll try now with the actual app but at least now I can build the appxupload.
5
Answers
@LucasSoftability
Try building with "Master" configuration rather than "Release" and if you are only building for HoloLens make sure you do not have Desktop and Mobile selected and select the option to "Require your permission" for future device families ?
HTH.
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings
it's worked
"Package acceptance validation error: This package wasn't built for submission to the Store. Make sure you're uploading a Release build with the .NET Native tool chain enabled. "
this is what I get when uploading with master. Desktop and mobile are unchecked. If I try to build release and .NET native, it shows other errors...It can't be that hard...
@LucasSoftability
Have made sure you have VS Update 3 and any suggested patches for VS?
You may also want to try running the VS Repair just in case a file or two got messed up in your environment.
Does your app build and deploy to the HoloLens before you make your app package?
Does the app package pass the WACK tool?
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings
Ok, so the culprit was F-secure. It seems VS runs some app to build and F-Secure blocks for being a virus.
So when building, disable your F-secure.
Just wanted to thank Holosheep as well. And to answer the last comment, all worked fine on device.
I just tried with an empty project and it went to the dev center. I'll try now with the actual app but at least now I can build the appxupload.