C# programming in Linux Mint

What is the best IDE to programm C# on Linux Mint?
39 Replies
Buddy
Buddy5w ago
JetBrains Rider $rider
MODiX
MODiX5w ago
JetBrains
Rider: The Cross-Platform .NET IDE from JetBrains
Develop .NET, ASP.NET, .NET Core, Xamarin or Unity applications on Windows, Mac, Linux
Buddy
Buddy5w ago
It is however paid
AdAstraios07
AdAstraios075w ago
I there mayby something for free ?
Buddy
Buddy5w ago
JetBrains
Early Access Program - Rider: Cross-platform .NET IDE
.NET IDE based on the IntelliJ platform and ReSharper. Supports C#, ASP.NET, ASP.NET MVC, .NET Core, Unity and Xamarin
Buddy
Buddy5w ago
EAP is free and available for commercial use but it's public beta testing
Jimmacle
Jimmacle5w ago
it's also not always available $freerider or use VS Code
MODiX
MODiX5w ago
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
Buddy
Buddy5w ago
Unfortunately VSCode is by far worse than VS and Rider. But it should be pretty decent for Linux as there are no other decent IDEs for .NET
Jimmacle
Jimmacle5w ago
yeah, but if it has to run on linux VS isn't an option
AdAstraios07
AdAstraios075w ago
and VS 2019 is not Support on linux unfortually
Jimmacle
Jimmacle5w ago
no version of VS is supported on linux it's windows only
AdAstraios07
AdAstraios075w ago
aren`t there other options ?
Buddy
Buddy5w ago
Unfortunately not. Rider and VSCode are your only two decent options
Jimmacle
Jimmacle5w ago
you can set up vim or something if you want
Buddy
Buddy5w ago
Neovim is decent too but ungodly hard for beginners to vim - Neovim is vim but has support for plugins, which is a better version of vim and recommended over vim.
Jimmacle
Jimmacle5w ago
yeah, i wouldn't personally recommend it but it is an option that exists
AdAstraios07
AdAstraios075w ago
i also found eclipse with a c# plugin or is that crap ?
Jimmacle
Jimmacle5w ago
eclipse is not pleasant imo but it'll be up to you whether you like it or not if you want to be able to get good support here your best options are vscode or rider
AdAstraios07
AdAstraios075w ago
hm okay i already tired vs code but i always have some error with dotnet
Jimmacle
Jimmacle5w ago
$vscode
MODiX
MODiX5w ago
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
Jimmacle
Jimmacle5w ago
did you follow that?
AdAstraios07
AdAstraios075w ago
i was just asking chatgpt but it first worked I now have the error that Mono could not be found
Jimmacle
Jimmacle5w ago
you should absolutely not be using mono don't use chatgpt as a beginner you don't know enough to know when it's telling you BS
AdAstraios07
AdAstraios075w ago
i programmed that in school with vs 2019 and now i wanted to open it in vs code
Jimmacle
Jimmacle5w ago
you won't be able to develop .NET Framework projects on linux only .NET Core/.NET 5+
AdAstraios07
AdAstraios075w ago
ah okay thats the problem
Jimmacle
Jimmacle5w ago
you also can't use windows forms or wpf because those are windows only
AdAstraios07
AdAstraios075w ago
so i would have to copy the text into a new file that i opened in vs code
Jimmacle
Jimmacle5w ago
you can upgrade the project but if you only have one .cs file it's easier to just do that
AdAstraios07
AdAstraios075w ago
how can i upgrade the file we are now starting to use multiple files ?
Jimmacle
Jimmacle5w ago
you would need to change the .csproj to the new format, target a modern .NET version, and then fix any errors that appear in your .cs files your projects are probably simple enough that you can just copy the .cs files into a new project that you selected .NET 8 for
AdAstraios07
AdAstraios075w ago
okay also is there mayby some way to automaticly add the using/namespace/ class ?
Jimmacle
Jimmacle5w ago
probably, i don't use vs code so i'm not familiar with what the dev kit extension can do
AdAstraios07
AdAstraios075w ago
Which one are you using ?
Jimmacle
Jimmacle5w ago
rider
AdAstraios07
AdAstraios075w ago
okay thanks
Mr. Dink
Mr. Dink5w ago
I switched to linux a few months ago as a lifetime windows user, and there were some growing pains but I'm in a much better spot now. My setup is VSCode for most things and while I can use the Dev Kit, I'm now more familiar with using .NET with the command line for managing certain projects which is nice. I gave Rider a shot with their free trial, since some friends and other people I work with have it, but there were two nitpicks that made me decide against it. 1. I have a pretty basic color theme and while Rider has a much nicer interface for customizing stuff, there are some bugs where certain syntax are colored wrong. These were reported years ago and have had no movement so I doubt they will be fixed soon. TOTALLY an unreasonable nitpick on my part, but it just kept bothering me and kept getting distracted while using it. 2. It costs, which isn't a problem on its own. I switched from Cubase to Reaper a few years ago and happily pay the licensing fee, because it's $60 and you own the version, and has all the features Cubase charged $999 for the ultimate tier version, plus no dongle. As for C# though, Rider is a subscription model, which requires you to purchase the Ultimate tier for stuff you get from VS2022 for free, and even then it still has those graphical bugs, so it just feels like an overall downgrade for me. Again, none of those probably bother anyone else, so it may be perfect for you, but that was my experience. What I ended up doing was just creating a virtual box of Windows on my Linux machine, installed GitHub desktop and VS2022, and if I need any advanced features like memory profiling, I'll just log in there and do my testing. In the meantime 99% of stuff is handled by VS Code. I wouldn't recommend it for solutions with like 30 projects, but if you don't have a complete mess of a legacy project to manage, you'll probably be fine.
Want results from more Discord servers?
Add your server