Is WPF possible on Linux (already)?

I like .NET programming, especially C # 3.0, .NET 3.5, and WPF. But I especially like the fact that with Mono.NET is really platform independent.

Now I heard about the Olive project in Mono. I could not find any beta.

Does he already work? Have any of you made any experiences with him?

Edit: I know about the moonlight. But I want a standalone WPF application. And because of Moonlight, I hope WPF on Linux becomes true.

+43
c # mono wpf
Jan 07 '09 at 19:40
source share
9 answers

You will be better off working with Moonlight, which targets the Silverlight API, which is a subset of the full WPF.

edit: Of course, Silverlight is not "designed" for the desktop, but there is no reason why you cannot implement the Silverlight engine in your application. This was done earlier, for example, for the Mac NY Times Reader

more edit: see Miguel's post on Silverlight Standalone Applications

+23
Jan 07 '09 at 19:50
source share

Update : as people continue to vote against this, I want to note that this has long been out of date. Mono acquired MS many years ago, and their position on open source has changed, so I think this post is obsolete. (As old as the WPF framework itself, heh).

Mono is in a slightly awkward position when it comes to Microsoft APIs such as Winforms and WPF. A subset of .Net technology is an ECMA standard, but free implementations of these APIs are likely to be on an easier legal basis. I believe this was an important factor in the agreement between Novell and Microsoft, which is good for Novell customers. But people who use Mono and are not Novell customers are not protected. For this reason, many people in the F / OSS community look askance at Mono, despite its technical merit.

For this reason, Gtk # will always be preferred as it is truly free. In any case, many believe that it is superior to Winforms. As for WPF, it will almost certainly be a low priority for Novell. They can realize this in the end, but I expect that Moonlight will be the closest you can get in the foreseeable future.




Since the publication of this article, Microsoft has extended its agreement to anyone implementing the ECMA 334 and 335 standards .

+13
Jan 07 '09 at 21:38
source share

From the monographic website

At this point, the Mono project has no plans to implement the Windows Foundation Foundation Foundation APIs as part of the project.

Moonlight is a browser-based implementation of Silverlight, such as a technology based on a subset of WPF.

In my opinion, the choice not to implement WPF is the biggest monos mistake. Because WPF is quickly becoming the default choice for new .net user interfaces. See this blog for more details .

+7
Jan 07 '09 at 20:36
source share

If you checked the known errors for this link (also include the steps necessary to install .NET on Ubuntu) or this , you may find that some (maybe buggy) version of WPF is working on Wine at the moment. At the moment, I have not found a specific test, but it's worth trying to run WPF "Hello world".

UPDATE2:

I ran the latest IlSpy in the latest Wine for Ubuntu 16.04. With a 32-bit version of dotnet45 and corefonts installed through winetricks with Windows 7 compatibility.

During this time, no failures and all failed. Fonts look very good.

IlSpy shown through WPF and for a person who loves programming with .NET is an important decompiler tool.

I downloaded the latest version of SharpDevelop (build using WPF) at no extra cost. Started. Failed to create WPF project. Created by WinForms. After opening some cs files and detecting some crashes, I tried to enter - and it crashed.

IlSpy via Wine on Ubuntu

UPDATE

I followed the steps and got the latest version of ILSpy.exe on Ubuntu 14.4.

enter image description here

The following points to note:

  • wine said dotnet40 is not supported by 64 configuration changed to 32 bit

  • fonts are ugly but readable

  • The basic functionality works fine - I can see the decompiled code, which is good enough for some development, but View β†’ Search and View β†’ Options β†’ Display crash.

Output:

Maybe WPF on Linux. But you need to somehow solve the problems.

+4
Jan 14 '15 at 10:39
source share

There is a library called the Silverform SDK that aims to provide a cross-platform implementation of WPF and Silverlight.

The library is implemented in managed code and currently works with OpenTK and Unity3D as a rendering. Basic functions such as binding, layout, basic controls and primitives are already implemented (check out the demos of Unity web players here ). It was initially focused on Unity3d rendering, while support for standalone Mono applications will be added to a separate build in the future.

Disclaimer: I am one of the developers of the library.

+3
Jul 21 '11 at 17:19
source share

From the main page:

Olive oil is not supported, it should be considered as experimental software, and since it implements an API change there is no guarantee of API stability.

I doubt someone used it in a real project.

+2
Jan 07 '09 at 19:47
source share

Yes, you can use NoesisGUI in a real-time, multi-platform XAML implementation. There are several games already released using this technology on Linux, for example VoidExpanse

Disclosure of Information . I am one of the developers of this product.

+2
Apr 13 '15 at 20:46
source share

I heard that the podcast interviewed miguel de icaza (mono lead) may have been a few weeks ago, so that would be probably in mid-December 2008, and he said that they did not yet have WPF support.

0
Jan 07 '09 at 19:46
source share

A theoretically truncated version of WPF MAY be compiled for WinPR or LibWine to run on Linux.

There is currently no such setting, so someone should do it. Hope this could change soon.

As for working in or in the full Wine environment, I think that this is seriously unnecessary and will lead to too much bloat to make very few additional programs work.

0
Jul 03 '19 at 1:41
source share



All Articles