You may not make .NET 5 WPF application executed in Mac os.
Quoted from Desktop Guide (WPF .NET):
Even though .NET is a cross-platform technology, WPF isn't and only runs on Windows.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.