Search code examples
uwpwindows-10.net-native

Desktop Bridge requires .net native tool chain, but how to use it in a runtime component


I try to get a JavaScript UWP app into the Store which uses the Desktop Bridge (some "older" parts). There is a C# UWP Windows runtime component (winmd) as a project in the solution. Everything works fine and runs as expected, but when I try to get the package into the store I get the following error:

Package acceptance validation error: Apps converted with the Desktop Bridge and that require the .NET Native framework must be pre-compiled by the .NET Native tool chain.

The JavaScript UWP App does already using .net native compiling (AFAIK the this is the default for JS UWP), but how do I configure this for the C# Windows runtime component library project?


Solution

  • I answer my question self, the resolution for this problem was to bundle the package manually after building from visual studio. The relevant information can be find here: Desktop to UWP Bridge: Packaging .NET apps using Visual Studio

    Esp. this info: Screenshot