C
C#2mo ago
Astraios07

C# programming in Linux Mint

What is the best IDE to programm C# on Linux Mint?
39 Replies
Buddy
Buddy2mo ago
JetBrains Rider $rider
MODiX
MODiX2mo 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
Buddy2mo ago
It is however paid
Astraios07
Astraios07OP2mo ago
I there mayby something for free ?
Buddy
Buddy2mo 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
Buddy2mo ago
EAP is free and available for commercial use but it's public beta testing
Jimmacle
Jimmacle2mo ago
it's also not always available $freerider or use VS Code
MODiX
MODiX2mo 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
Buddy2mo 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
Jimmacle2mo ago
yeah, but if it has to run on linux VS isn't an option
Astraios07
Astraios07OP2mo ago
and VS 2019 is not Support on linux unfortually
Jimmacle
Jimmacle2mo ago
no version of VS is supported on linux it's windows only
Astraios07
Astraios07OP2mo ago
aren`t there other options ?
Buddy
Buddy2mo ago
Unfortunately not. Rider and VSCode are your only two decent options
Jimmacle
Jimmacle2mo ago
you can set up vim or something if you want
Buddy
Buddy2mo 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
Jimmacle2mo ago
yeah, i wouldn't personally recommend it but it is an option that exists
Astraios07
Astraios07OP2mo ago
i also found eclipse with a c# plugin or is that crap ?
Jimmacle
Jimmacle2mo 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
Astraios07
Astraios07OP2mo ago
hm okay i already tired vs code but i always have some error with dotnet
Jimmacle
Jimmacle2mo ago
$vscode
MODiX
MODiX2mo 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
Jimmacle2mo ago
did you follow that?
Astraios07
Astraios07OP2mo ago
i was just asking chatgpt but it first worked I now have the error that Mono could not be found
Jimmacle
Jimmacle2mo 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
Astraios07
Astraios07OP2mo ago
i programmed that in school with vs 2019 and now i wanted to open it in vs code
Jimmacle
Jimmacle2mo ago
you won't be able to develop .NET Framework projects on linux only .NET Core/.NET 5+
Astraios07
Astraios07OP2mo ago
ah okay thats the problem
Jimmacle
Jimmacle2mo ago
you also can't use windows forms or wpf because those are windows only
Astraios07
Astraios07OP2mo ago
so i would have to copy the text into a new file that i opened in vs code
Jimmacle
Jimmacle2mo ago
you can upgrade the project but if you only have one .cs file it's easier to just do that
Astraios07
Astraios07OP2mo ago
how can i upgrade the file we are now starting to use multiple files ?
Jimmacle
Jimmacle2mo 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
Astraios07
Astraios07OP2mo ago
okay also is there mayby some way to automaticly add the using/namespace/ class ?
Jimmacle
Jimmacle2mo ago
probably, i don't use vs code so i'm not familiar with what the dev kit extension can do
Astraios07
Astraios07OP2mo ago
Which one are you using ?
Jimmacle
Jimmacle2mo ago
rider
Astraios07
Astraios07OP2mo ago
okay thanks
Mr. Dink
Mr. Dink2mo 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