Bringing UWP to the Home windows App SDK
Updating UWP functions to the Home windows App SDK takes time, particularly in the event you’re counting on third-party libraries and parts that haven’t been up to date to it or to Win UI 3. Though you’ll be able to nonetheless distribute them by means of the Microsoft Retailer, you’re shut out from options like native AOT.
Microsoft will surely such as you to replace your code to the newest model of the .NET stack, but it surely’s keenly conscious of the difficulties. What’s wanted is a approach to take that present code and run it on the newest .NET, altering what you’ll be able to as you will have the time and sources. That’s why it’s launched a set of instruments so as to add UWP help to the upcoming .NET 9.
UWP help for .NET 9 isn’t a “one button” resolution. As an alternative, it’s a mixture of instruments that work at completely different layers of the .NET growth stack, in Visible Studio, within the Home windows SDK, and in .NET itself. Collectively they supply the mandatory scaffolding to deliver throughout your present C# code and begin the migration course of to the Home windows App SDK, whereas nonetheless letting your customers see a few of the benefits of a extra trendy platform. Updates to newer applied sciences could be incremental, for instance, creating a Win UI person expertise whereas retaining some performance in XAML Islands. Consequently you’re truly profiting from a public launch of instruments that Microsoft is utilizing for its personal app updates, with the Microsoft Retailer working with these instruments to ship a local AOT model within the close to future—most probably in November, after .NET 9 reaches common availability and will get help.