Maui - how to run wpf app with process in mac

Dani_S 3,726 Reputation points
2023-09-07T12:06:28.2133333+00:00

Hi,

It possible to run WPF app using PROCESS in MAUI under MAC ?

Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,409 questions
{count} votes

Accepted answer
  1. Johan Smarius 470 Reputation points MVP
    2023-09-09T17:53:05.3133333+00:00

    WPF is Windows only, so you cannot run it on a Mac.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 64,161 Reputation points
    2023-09-10T19:22:32.5666667+00:00

    To run a WPF app on a Mac, you need a Windows virtualization app. Typically Parallels or VMWare. Install the app in the vm and create an alias on the Mac side. Then your Maui app can start it via the alias.

    note: if M1/2 then the vm will be windows arm, and the WPF app must support running on windows arm.

    1 person found this answer helpful.
    0 comments No comments

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.