-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support installing Reunion without referencing WinUI 3 #1124
Comments
@dotMorten Did you previously write something up along these lines? Can't find it if so. |
note that cswinrt would still be coupled to winui3 until microsoft/CsWinRT#723 is addressed |
I was trying to add the new AppWindow to an application using XAML Islands and WinUI 2.7 to get a nicer title bar. The problem is that once I added the Microsoft.WindowsAppSDK 1.0.0 package to the project (.wapproj file), it would crash on trying to create the muxc:XamlControlsResources (WinUI 2.7). I assume this problem comes from Windows App SDK bringing in its own WinUI 3 XamlControlsResources instead, which is of course incompatible. I would like to be able to use AppWindow without bringing WinUI 3 into the application, which apparently prevents me from using WinUI 2.7 (without XamlControlsResources in App.xaml, the app works fine—just with the outdated styles, and I assume that WinUI 2.x controls wouldn’t work). So as far as I can tell, it’s effectively impossible to use Windows App SDK if you’re an app like Windows Terminal (XAML Islands + WinUI 2.x). Based on discussion in #593, which I believe @riverar might have been referring to, it seems like this is intentional, but it completely blocks this scenario, unless I’m missing something. |
Windows App SDK includes WinUI 3.x+ and WinUI 3.x+ Islands, not WinUI 2.x. So By definition, Windows App SDK (that includes All WinUI 2.x apps will have to be upgraded to WinUI 3.x+ or WinUI 3.x+ Islands when it is available. |
Please make this quick. As currently advertised, WindowsAppSDK is supposed to be usable from any app that uses any framework, including UWP apps. Don't require UWP apps to migrate to WinUI 3 just to use WindowsAppSDK, while still letting other frameworks (eg: WPF/WinForms on .NET Core) use it directly without necessarily migrating to WinUI 3. It feels like UWP isn't treated equally along with other legacy technologies and is seen as an exception. |
Today if you install Reunion, it will reference WinUI 3. This means you can't use it alongside Platform XAML with WinUI 2.x as WinUI 2.x has the types with the same name in the same namespaces.
The text was updated successfully, but these errors were encountered: