Is WPF cross platform now #7275
Replies: 3 comments 4 replies
-
WPF is not cross-platform. .NET Core (now .NET) has platform specific targets and WPF is using those. You might need to get newer templates/SDK/VS, .NET 6 is the newest one with long-term support and .NET 7 was released a few days ago. See https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-and-net-core. |
Beta Was this translation helpful? Give feedback.
-
How about MAUI ? |
Beta Was this translation helpful? Give feedback.
-
There is an option to build cross platform WPF applications now: https://avaloniaui.net/XPF It requires a commercial license to use. |
Beta Was this translation helpful? Give feedback.
-
For a development requirement, I came back to WPF after 4 years and find a lot of confusing changes and technological transitions. I used .NET Framework 3.5 earlier and now wish to pick on the latest technology available for WPF.
This announcement announces the successful porting of WPF to the .NET core.
From this article, I came to know that .NET core is built primarily keeping cross-platform in mind. And I tried building a sample WPF project and Visual Studio recommends me to go with .NET Core 3.1 as shown below.
If .NET Core is cross-platform, then is WPF cross-platform now? Doesn't WPF abbreviates to Windows Presentation Foundation, what is the motivation behind porting it into a cross platform ready framework.
Beta Was this translation helpful? Give feedback.
All reactions