MacOS and Windows Cross Platform Template

Tony Pitman 76 Reputation points
2021-05-18T00:45:37.207+00:00

What is the current recommended method for setting up a new cross platform MacOS and Windows application solution using Visual Studio 2019 for Mac?

I am developing on a Mac and will use Parallels to build for Windows if needed. If I could build all the way to a Windows EXE on the Mac, that would be cool.

I want to share the UI completely if possible.

I have been doing plenty of iOS / Android development, but now need a desktop app.

Can someone suggest how to get the solution and projects set up? I know MAUI is coming, but the MacOS support isn't there yet.

Thoughts?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes

Accepted answer
  1. Sören Kuklau 76 Reputation points
    2021-06-01T12:14:41.077+00:00

    This question is quite broad. I'm assuming you want something XAML-based.

    You can do Xamarin.Forms with macOS and UWP (or macOS and WPF) targets, but none of those three targets are production-quality. That'll change in Maui. Whether XamForms as it is is good enough for your needs depends on the complexity of your app vs. how willing you are to write your own controls or custom renderers for existing controls.

    There's also Uno, but I can't speak to its quality.


0 additional answers

Sort by: Most helpful