About Publishing WPF Applications to the Microsoft Store

takashi 26 Reputation points
2022-09-30T09:09:25.477+00:00

I have a question regarding publishing to the Microsoft store.

[question 1]
Is it possible to publish an application created with WPF to the Microsoft store?
Are there any restrictions such as "must be .NET 5 or higher"?
(Is it possible or not depending on the version of Visual Studio?)

[question 2]
Can I publish a WPF application containing "unsafe code" to the Microsoft store?

[question 3]
Can I publish a WPF application that uses my own DLL files to the Microsoft store?

[question 4]
I'm thinking about publishing an app that uses gadgets.
Is there a way to restrict app installation to "gadget owners"?
(I believe that "Anyone can install an app published to the Microsoft store.")

[question 5]
I would like to require the input of the "password attached to the gadget" on the operation screen when the app is first launched.
When publishing an app to the Microsoft store, there is an "examination (certification procedure for application)".
Is it possible for an "application that cannot be operated without a password" to pass the "examination (certification procedure for application)"?

Many thanks.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,679 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
767 questions
0 comments No comments
{count} vote

Accepted answer
  1. Hui Liu-MSFT 40,666 Reputation points Microsoft Vendor
    2022-10-03T06:14:22.39+00:00

    Hi,@takashi . Welcome Microsoft Q&A.
    Issue 1: Yes, the WPF Application can be published to Microsoft Store but not directly. WPF can be converted to UWP via Desktop Bridge app and there are several ways to convert and package it. If you use Visual Studio to design your project, there is a simple way to prepare your WPF app to publish to the Store. You could use Windows Application Packaging Project to package your WPF app and upload the package in Dev center to release your app. For more details about packaging, you could refer to the official document: Package a desktop app from source code using Visual Studio.
    Issue 2:Yes.
    Issue 3:Yes.
    For Issue 4:You could try to refer here.
    Issue 5:For the successful submission of limited functionality, you can try to refer to here.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful