1
votes

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?

2
How did you create the package? Have your package pasted Windows App Certification Kit test?Scavenger
The package was created by Visual Studio: "Store -> Create App Packages..." No it will not pass App Certification Kit, because of the <rescap:Capability Name="runFullTrust" /> entry in the manifest. But this is needed for my purpose.Daniel Toplak

2 Answers

2
votes

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

0
votes

Unlike publishing normal UWP apps, to publish an app converted with the Desktop Bridge, please fill out the form at Bring your existing apps and games to the Windows Store with the Desktop Bridge. Microsoft will contact you to start the onboarding process. Our team will work directly with you to get your converted apps or games into the Windows Store.

For more info, please see Desktop Bridge Packaging Guide for .NET Desktop apps with Visual Studio and Distribute apps converted with the Desktop Bridge.