且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将c#桌面应用程序发布到Windows应用商店

更新时间:2022-01-22 22:16:08

当你提到"一个桌面应用程序"时,我认为你并不是指一个专为其设计的UWP桌面应用程序商店,而是WPF或Windows窗体应用程序。最初,无法在
Windows应用商店中发布此类应用程序。但是,最近微软推出了桌面网桥,它允许您以商店支持的方式封装其中一个桌面应用程序。

When you mention "a desktop app", I presume that you are not referring to a UWP desktop application designed for the Store, but rather a WPF or Windows Forms application. Originally, it was not possible to publish this type of applications in the Windows Store. However, recently Microsoft brought out the Desktop Bridge, which allows you to encapsulate one of these desktop applications in such a way that they are supported by the Store.

这个过程有点复杂,但在Microsoft文档中有详细记录:

The process is somewhat complex, but it is documented in detail at Microsoft docs:

https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-prepare