react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Support for C++ WinAppSDK apps (CLI template)

Open asklar opened this issue 3 years ago • 4 comments

Current plan is to start with C#, so filing this to add a C++/WinRT Reunion template in the future

asklar avatar Jun 29 '21 01:06 asklar

We should start organizing this work into a project board so it's clear where to track progress on Windows App SDK support.

chrisglein avatar Jul 01 '21 18:07 chrisglein

Notes from planning poker:

Install WinAppSDK, open a new project, and get RNW loading into that. Then reverse engineer the project template from that. From learnings on doing this for C#, can be 1-2 weeks. Will need to navigate PackageReference. C# had breaks due to the preview versions that we won't have to deal with here. How many #ifWinUI3 checks to we have to keep and maintain? There are many of these in aggregate that add cost.

chrisglein avatar Feb 02 '22 17:02 chrisglein

@AgneLukoseviciute Do you think this will make 0.69 or should it be moved to 0.70?

jonthysell avatar May 06 '22 22:05 jonthysell

update: since we're moving in the direction of using NuGets instead of source, we'll want to create and publish a cpp WinAppSDK nuget -- aka Microsoft.ReactNative build with USE_WINUI3 defined. Next step here is to get a working NuGet generated (test through sample app).

AgneLukoseviciute avatar May 26 '22 21:05 AgneLukoseviciute

Back in late 2021 / early 2022 we started a WinAppSDK new app template based on understanding of WinAppSDK at the time. And then came Fabric and impact on our overall strategy for how to handle Win32/WinAppSDK. As such these original plans don't make as much sense and we'll be closing them as Not Planned. That's not in any way to say RNW isn't going to support WinAppSDK, we're just doing it differently! Track our Fabric progress for details on the new app template and how that'll be compatible with WinAppSDK.

chrisglein avatar Sep 07 '23 22:09 chrisglein