Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can run WPF in macOS? #2144

Closed
William201807 opened this issue Dec 13, 2018 · 4 comments
Closed

How can run WPF in macOS? #2144

William201807 opened this issue Dec 13, 2018 · 4 comments

Comments

@William201807
Copy link

@William201807 William201807 commented Dec 13, 2018

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.

@William201807 William201807 changed the title WPF How can run WPF in macOS? Dec 13, 2018
@William201807 William201807 reopened this Dec 13, 2018
@jfbueno
Copy link

@jfbueno jfbueno commented Dec 13, 2018

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.

@William201807
Copy link
Author

@William201807 William201807 commented Dec 13, 2018

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?

@karelz
Copy link
Member

@karelz karelz commented Dec 13, 2018

@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 dotnet/wpf#48

@karelz karelz closed this Dec 13, 2018
@chrisfcarroll
Copy link

@chrisfcarroll chrisfcarroll commented Sep 11, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants