Reputation: 1449
Can I upload an app which is not built with compile .net native tool chain and pass the analysis?
My app is using NAudio for playing pcm buffer, I found it would crash if it built with .net native tool chain.
However, I can't upload an app which is not built with .net native tool chain (even a blank project),
it always shown below
The declared package dependency does not exist. Dependency: Microsoft.NET.CoreRuntime.1.0. Minimum version: 1.0.23430.0. Please upload the .appxupload file generated by Visual Studio for the Store.
Upvotes: 2
Views: 1026
Reputation: 31813
For Windows 10 UWP apps, when you are debugging in DEBUG mode in Visual Studio you are running against MSIL. When you are debugging in RELEASE mode you are running against .NET Native machine code. When you upload to the Windows Store, preparing the appxupload file, you are generating MSIL, not .NET Native - this is because inside the Store, the Store will use .NET Native to compile your code to x86, x64, and ARM architectures. When delivered to client machines, only the resulting .NET Native will be delivered. Not the MSIL.
Check out my interview with the product team: https://channel9.msdn.com/Blogs/DevRadio/NET-Native-Performance-Optimizing-Your-Windows-Apps-with-NET-Native
I hope this helps.
Upvotes: 3