Can i run .NET 6.0 WPF app on Linux ?

Rasem Fadela 1 Reputation point
2022-08-01T13:34:20.82+00:00

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 ?

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
814 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Taylor 54,811 Reputation points
    2022-08-01T14:55:28.977+00:00

    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.

    0 comments No comments

  2. cleric145-6909 11 Reputation points
    2022-08-01T20:53:03.587+00:00
    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.