Share via

Maui - how to run wpf app with process in mac

Dani_S 4,381 Reputation points
Sep 7, 2023, 12:06 PM

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.
4,058 questions
{count} votes

Accepted answer
  1. Johan Smarius 470 Reputation points MVP
    Sep 9, 2023, 5:53 PM

    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) 73,501 Reputation points
    Sep 10, 2023, 7:22 PM

    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.