❔ C# on Linux
Hey! New with C#. As a Linux user, I'm very limited by using C# to create apps on my OS using Microsoft official apps like vs2022. What are other options I can choose for apps/projects development on linux by using c#?😅
Also I have a lot of projects in my mind that I really wanna make with C#, but it's hard to find docs for tools to use with C# to make great projects on linux . What are your
14 Replies
JetBrains Rider is an amazing IDE and also Cross-Platform.
JetBrains
Rider: The Cross-Platform .NET IDE from JetBrains
Develop .NET, ASP.NET, .NET Core, Xamarin or Unity applications on Windows, Mac, Linux
It is paid, but you can use EAP (Early Access Program), which is free and commercially usable.
Downside is that it may not always be stable and you have to re-download it every 30th day.
There are also other options to get it for free
There are two ways to get Rider for free:
Being a student: https://www.jetbrains.com/community/education/#students
Using it for an OSS project: https://www.jetbrains.com/community/opensource/#support
As for a GUI Framework, Avalonia is a solid option for desktop platforms.
Supports pretty much all platforms, it is however unstable on web and mobile.
It is similar to WPF, but with extra spice, such as CSS selectors.
https://avaloniaui.net/
Hmm,I like how it's presented
It uses Skia which is also a bonus, so no web app bs.
Should Rider be out of the question, VS Code with the DevKit extension is also usable, although doesn't really come close to VS or Rider
AvaloniaUI is my weapon of choice when it comes to GUI applications.
it also supports NativeAOT out of the box which is amazing.
Hmm, I'll try it tomorrow
It's a must try after all I heard from you about it
I do also wanna change distros but I think this shouldn't be a problem,no?
A distro like AntiX should have no problems running apps that Ubuntu can, no?
Both of them should support all distros afaik, as long as .NET supports it as well as Java
Rider is made with Java (Kotlin), which is why it can be cross-platform.
But it's pretty much the best IDE out there, in my opinion better than VS because of the insane tooling it has.
You can also use C# DevKit and vscode, which is how I develop C# on linux
$vscode
Follow the instructions here on getting started with DevKit for C# in VSCode: https://code.visualstudio.com/docs/csharp/get-started
Get started with C# and .NET in Visual Studio Code
Getting Started with C# and .NET Development in Visual Studio Code
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.