How to create Gui cross-platform GUI applications?

Answered

Windows 10 Home, Rider 2019.3.1. Installed dotnet-sdk-3.1.201-win-x64 and ndp48-devpack-enu.
I try to create a WPF application, I get
Microsoft.NET.Sdk.FrameworkReferenceResolution.targets (317, 5): [NETSDK1082] there was no runtime package available for Microsoft.WindowsDesktop.App.WPF for the specified RuntimeIdentifier "linux-x64".
I tried to create WPF applications in Uubuntu (NetCore and Mono installed). I get:
The imported project "/usr/share/dotnet/sdk/3.1.201/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.props" was not found. Confirm that the expression in the Import declaration "Microsoft.WinFX.props" is correct, and that the file exists on disk. /usr/share/dotnet/sdk/3.1.201/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props
Why aren't cross-platform GUI applications created and what needs to be done to create them?

1
4 comments

Hi! 

Unfortunately, WPF applications on Linux are not supported yet. We decided to hide these templates in the following releases. 

Please accept our apologies for the inconvenience. 

0

Hide then and Windows Forms applications.  Lack of support for WPF and Windows Forms (on Linux) absent in NET Core?  Does Microsoft plan to do this support in NET Core?

0

For now, there is no official Microsoft tech that solves a multi-platform GUI. There are some platforms like Avalonia and Eto.Forms. We have a feature request for Avalonia support, but there is no ETA. You can vote for this issue and follow it to be notified about the progress. 

 

 

0

Thanks a lot. I understood.

0

Please sign in to leave a comment.