WPF is not cross platform. It compiles under .NET Core/6 but is Windows only. Note that you can, theoretically, run it using Wine in Linux.
The cross-platform UI for .NET Core/6 is MAUI.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i am developing a WPF application using the last .NET 6.0 version and VS22 which is declared as cross-platform
so can I run the same WPF app developed on .NET 6.0 and VS22 on Linux UBUNTO 20.4 ?
i saw only example of running Console app ?
WPF is not cross platform. It compiles under .NET Core/6 but is Windows only. Note that you can, theoretically, run it using Wine in Linux.
The cross-platform UI for .NET Core/6 is MAUI.
We (Avalonia) decided to do what many thought impossible. We forked WPF and replaced the low levels with Avalonia and named it Avalonia XPF. It's API-compatible and binary-compatible, meaning all your favourite 3rd party controls continue to work! Right now, we support running on Windows, macOS and Linux. We expect to add iOS, Android and Browser (WASM) support later this year. If you want to try it, you can sign up for a trial on our website.