locked
Can a WPF Application Be Published on the Microsoft Store? RRS feed

  • Question

  • I have read several posts on the internet regarding non-UWP apps being published to the Microsoft Store.  The posts range in dates from several years ago to a few months ago.  In them I have read the following:

    1. Only UWP/WinRt apps can be uploaded to the store.
    2. Non-UWP apps can be represented on the store but only by linking them to the store via a third party web site, and the linked application cannot write to disk.
    3. WPF and Winforms programs can be converted to UWP via Desktop Bridge. 
    4. Converted WPF and Winforms apps have several restrictions such as: a) the app cannot write to HKEY_LOCAL_MACHINE registry hive, etc., etc., etc.

    So my question is, "What is the current state of development requirements for WPF apps, or any apps for that matter, which are to be uploaded to Microsoft Store?".


    Rob E.

    Monday, October 7, 2019 4:52 AM

Answers

  • Hi REvans611,

    >Can a WPF Application Be Published on the Microsoft Store?

    Yes, the WPF Application can be published to Microsoft Store but not directly. As you mentioned in the third point, the 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.

    Best regards

    Daisy  Tian


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by EckiS Tuesday, October 8, 2019 5:41 PM
    • Marked as answer by REvans611 Tuesday, October 8, 2019 5:51 PM
    • Unmarked as answer by REvans611 Monday, February 3, 2020 5:30 AM
    • Marked as answer by REvans611 Monday, February 3, 2020 8:08 PM
    Monday, October 7, 2019 9:44 AM

All replies

  • Hi REvans611,

    >Can a WPF Application Be Published on the Microsoft Store?

    Yes, the WPF Application can be published to Microsoft Store but not directly. As you mentioned in the third point, the 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.

    Best regards

    Daisy  Tian


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by EckiS Tuesday, October 8, 2019 5:41 PM
    • Marked as answer by REvans611 Tuesday, October 8, 2019 5:51 PM
    • Unmarked as answer by REvans611 Monday, February 3, 2020 5:30 AM
    • Marked as answer by REvans611 Monday, February 3, 2020 8:08 PM
    Monday, October 7, 2019 9:44 AM
  • Hi REvans611,

    >Can a WPF Application Be Published on the Microsoft Store?

    Yes, the WPF Application can be published to Microsoft Store but not directly. As you mentioned in the third point, the 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.



    Thank you, for your reply. You say that, "Yes, the WPF Application can be published to the Microsoft Store but not directly."  Then you say that the application can be converted or repackaged for upload.  I take the words "not directly" to mean that a link must be provided to my application via the store.  Is that correct?  Or, does "not directly" mean that a WPF app must be converted or repackaged BEFORE uploading to the store?


    Rob E.

    Monday, October 7, 2019 4:10 PM
  • Hi REvans611,
    >Or, does "not directly" mean that a WPF app must be converted or repackaged BEFORE uploading to the store?
    Yes, this means you need to package the WPF app in specified method and the publish process is basically the same as the UWP app.

    Best regards
    Daisy Tian

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 8, 2019 5:33 AM