x# on Mac and Linux

This forum is meant for questions and discussions about the X# language and tools
Post Reply
RGreim4XS
Posts: 54
Joined: Sat Feb 08, 2020 7:47 am

x# on Mac and Linux

Post by RGreim4XS »

Hi, as the world is now talking about Linux and Mac as a option to windows boxes ...


Question, does it make sense also to use these platforms with X# migrated apps , not only servers ? Ok I undestand only for X architecture not M1, ARM... But X# on a raspi 5 for iot tasks with a middleware developed in XBASE, why not....

In the past we used Mono, and I did an also a proof of concept with VFP9 on Linux with Wine. We had also a test framework developed in .net and using Mono in Linux boxes, as the build server were using Linux infracture ?

See you all in Potsdam.


Rainer
User avatar
wriedmann
Posts: 4059
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Re: x# on Mac and Linux

Post by wriedmann »

Hi Rainer,
Fabrice has shown X# applications on Linux more than once, but always only server applications (command line applications).
GUI applications are a too hard task for a Raspi, but server applications would definitely make sense.
And I do not know how good the GUI support of .NET is on alternative platforms...
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
RGreim4XS
Posts: 54
Joined: Sat Feb 08, 2020 7:47 am

Re: x# on Mac and Linux

Post by RGreim4XS »

Hello Wolfgang, its good to know that there is an option, I love my XBASE language, even I have Pycharm and more on my laptop.
Next week Ill get my real Linux Laptop, so thx for the answer.

Rainer from the foggy Ulm.
User avatar
Fabrice
Posts: 584
Joined: Thu Oct 08, 2015 7:47 am
Location: France

Re: x# on Mac and Linux

Post by Fabrice »

Hi Rainer,

With .Net framework, I've runned a lot o f apps on Linux, even on RPI3/4 using Mono, accessing IO and Phidgets extensions
I even have runned some WinForms apps on RPI3 with it ! And it was using a DBF file : )
I've tried a bit with GtkSharp, but it's too old now I think.

Nowadays, with .Net 6/7/+ the support for .net apps on Linux is really easy.
I have some server apps that are running on wsl with Ubuntu, and even on VM in Proxmox at school for some underground admin tasks.

As Wolfgang said, my apps are mostly server/console apps, because there no real support for MS GUI technos on Linux.

Recently, I've read some stuff about Avalonia or Uno GUI that runs on Windows/Mac/Linux.
These are mostly xaml oriented, like WPF. and what is missing (in my point of view) is an easy to use Window Designer in all these libs.
I haven't tried with X#, but it "should" work

CU in Potsdam
XSharp Development Team
fabrice(at)xsharp.eu
RGreim4XS
Posts: 54
Joined: Sat Feb 08, 2020 7:47 am

Re: x# on Mac and Linux

Post by RGreim4XS »

Hi Fabrice , next week I get a new I7 Linux Laptop. What has to be installed to try it ?
Happy to see in in person in Potsdam.
Rainer
mindfulvector
Posts: 29
Joined: Tue Jun 24, 2025 1:57 pm
Location: United States

Re: x# on Mac and Linux

Post by mindfulvector »

I'm also very interested in this!

As to GUIs for XSharp on linux, there is a .Net package for Dear ImGui: https://www.nuget.org/packages/ImGui.NET/

I wonder how difficult this would be to use in XSharp on Linux. It is a very nice-looking GUI toolkit, the core C library has many examples: https://github.com/ocornut/imgui

I'll add this to my very long list of things to try.
User avatar
Fabrice
Posts: 584
Joined: Thu Oct 08, 2015 7:47 am
Location: France

Re: x# on Mac and Linux

Post by Fabrice »

Hi,

If you look at the Repo, it seems that the project is not really active.
Instead, I suggest you have a look at Eto.Forms : https://github.com/picoe/Eto

HTH
XSharp Development Team
fabrice(at)xsharp.eu
Post Reply