Can I use WindowsAppSDK in Winforms? #2404
Replies: 3 comments 7 replies
-
Yes, but only with .NET Core (5, 6, ...) atm (while there is no XAML Island for WinUI 3) |
Beta Was this translation helpful? Give feedback.
-
So since WinUI 3 is part of the WindowsAppSDK, do those dlls just get excluded by the SDK build process when part of a WinForms or WPF app? If other library authors want to build on top of the WindowsAppSDK for these non-WinUI 3 scenarios, is there anything special they need to worry about for these scenarios? |
Beta Was this translation helpful? Give feedback.
-
Whether it is.NET framework or.NET core, you can use Windows app sdk on winforms, you can refer to the official example under.NET core, and you can refer to the content of my project. GetStoreAppWebView is implemented using Winui3 islands with winform(.net framework 481) 无论是.net framework还是.net core,您都可以使用Windows app sdk在winforms上,.net core下的您可以参照官方示例,.net framework您可以参考我的项目里面的内容,GetStoreAppWebView就是使用的Winui3 islands with winform(.net framework 481) 实现的。 The only downside is that when used under the.NET framework, there is no XAML intellisense, which means that you need to carefully check what you type into the XAML page. |
Beta Was this translation helpful? Give feedback.
-
Can I use WindowsAppSDK in Winforms?
Beta Was this translation helpful? Give feedback.
All reactions