Core: How can run WPF in macOS?

Created on 13 Dec 2018  路  4Comments  路  Source: dotnet/core

Run WPF in macOS.
I want to run WPF in macOS, but run error is "It was not possible to find any compatible framework version The specified framework 'Microsoft.WindowsDesktop.App', version '3.0.0-alpha-27128-4' was not found", I can't find this runtimes in macOS version.

Most helpful comment

For those of us coming to this page from a websearch for "WPF on MacOs" I guess what we'd like is a pointer to good options for https://www.bing.com/search?q=netcore+cross+platform+gui

I appreciate that this isn't what dotnet/core/issues is for, but this page now ranks high

All 4 comments

Basically, you can't.

Although .NET Core 3 supports WPF, WinForms and UWP XAML they're only for Windows. You can read about this topic in .NET Blog.

I don't really know if there are any hacks that you can do to get WPF running on MacOS, but I suppose this is not the place to talk about it.

Basically, you can't.

Although .NET Core 3 supports WPF, WinForms and UWP XAML they're only for Windows. You can read about this topic in .NET Blog.

I don't really know if there are any hacks that you can do to get WPF running on MacOS, but I suppose this is not the place to talk about it.

Thanks for your prompt reply!
I want to know that dotnet core is cross platform. WPF can already run on Windows, Now it is added to core3.0, Is it for cross platform in the future? Is it possible to run on macOS in the future?

@William201807 the blog post and WPF repo both contain information, that WPF is Windows-only. Currently there are no plans to make it cross-platform. See https://github.com/dotnet/wpf/issues/48

For those of us coming to this page from a websearch for "WPF on MacOs" I guess what we'd like is a pointer to good options for https://www.bing.com/search?q=netcore+cross+platform+gui

I appreciate that this isn't what dotnet/core/issues is for, but this page now ranks high

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rykr picture rykr  路  3Comments

mmacneil picture mmacneil  路  3Comments

sravan1022 picture sravan1022  路  4Comments

wq807319473 picture wq807319473  路  3Comments

zuosc picture zuosc  路  3Comments