34
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

Mono appears to be dead. I enjoy making life hard so I dont use windows. I am trying to learn very simple c# but am having trouble gettung visual studio to run anything on linux (debian/mint). It wont even run with dotnet in the terminal either. I dont really like all the features in vs either, i just want simple.

For reference im learning with the yellow book by rob miles. I want to learn the old way, not using a bunch of shiny helping tools (i never feel i really learn with those and it stunts my growth).

top 37 comments
sorted by: hot top new old
[-] [email protected] 20 points 1 month ago* (last edited 1 month ago)

Jetbrains Rider free for personal use. You must use .net (core) on Linux, it works like a charm. Visual studio code is fine too but you need tons of plugins to have an IDE experience in .Net. You might have a problem with your .net installation id you can’t compile a simple program. How did you install .net? From microsoft’s ppa?

[-] [email protected] 4 points 1 month ago

Only like 3 plugins are necessary on VSCode for C#/.NET. I use it every day at work. I use just as many plugins, if not more when I write JS/TS.

I’ve heard Rider is a good experience but I’ve never tried it.

What I really want is better support for the language in Neovim plugins….

[-] [email protected] 2 points 1 month ago

For what it's worth, Rider has an excellent vim emulator plugin.

[-] [email protected] 2 points 1 month ago

Yes, from the ms walk through which was actually decently written. I just think vs is too confusing for me right now, I only want to learn simple code first before building a project

[-] [email protected] 6 points 1 month ago

You don’t need to use vscode, any text editor is fine. Try to follow the getting started tutorial on microsoft’s website to see if your dotnet configuration is correctly installed. https://learn.microsoft.com/en-us/dotnet/core/get-started

[-] [email protected] 3 points 1 month ago

To clarify things. Visual Studio and Visual Studio Code are two different things. Visual Studio is a full blown IDE intended to be run on Windows. Visual Studio Code is a glorified text editor out of the box that has plugins that help with coding in other languages like C#. On Linux you will want VS Code.

[-] [email protected] 15 points 1 month ago

.NET/C# is fully platform agnostic and Linux is a great host system for development in C#. In fact a lot of software developed in C# (basically all of the cloud software) is hosted on Linux systems. As others pointed out Rider and VS Code are a very good choice on Linux.

[-] [email protected] 0 points 1 month ago
[-] [email protected] 2 points 1 month ago

Hahaha, sounds a lot like a answer from an LLM admittedly, guess it starts affecting my writing 😂

[-] [email protected] 11 points 1 month ago

VS Code runs flawlessly on Linux, as does dotnet the compiler/runtime.
C# is a fine language, and you can easily upgrade to F#, if adventurous.
I use nvim with omnisharp-roslyn myself, which doesn't work as reliably, but I'm used to Vim, so meh.

[-] [email protected] 8 points 1 month ago

If you want simple: Visual Studio Code. If you want fancy: Rider. That being said, Rider, I find, tends to work better out of the box.

[-] [email protected] 4 points 1 month ago

Depending on your distro, you may have the .NET SDK in your packages already. Debian doesn't have it. I'm not sure about Mint. I use Ubuntu MATE and .NET 8 is available. Check with this:

apt search dotnet-sdk

If you see something like dotnet-sdk-8.0 in the list, this will install everything you need:

sudo apt install dotnet-sdk-8.0

If it's not available in the package repo, it's not difficult to install manually. Follow the instructions here: https://learn.microsoft.com/en-us/dotnet/core/install/linux?WT.mc_id=dotnet-35129-website#manual-installation

For my development environment, I use VS Code with the following extensions:

  • C# Dev Kit (Microsoft) -- This provides the full development experience: intellisense, debugger, project management, etc.
  • C# Extensions (JosKreativ) -- This provides handy helpers for scaffolding classes and other module types.
  • Todo Tree (Gruntfuggly) -- Locates TODO comments in your code and displays them in a dedicated tree view.

Once you've installed the SDK along with VS Code and the associated extensions, getting started is as easy as:

dotnet new console -o HelloWorld
cd HelloWorld
code .
[-] [email protected] 2 points 1 month ago

Clarification for Debian!

I recently installed on Debian 13 as well and these are the instructions I followed: https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian?tabs=dotnet8

The instructions say Debian 12, but they do work on Debian 13, FWIW.

[-] [email protected] 4 points 1 month ago

VSCode probably? I use Mint myself, but I don't do C#. I know IntelliJ, VSCode, and Eclipse all work fine, I just don't know what's best for C#. I'm surprised Visual Studio doesn't work.

[-] [email protected] 3 points 1 month ago

Oh no! What happened to mono?

[-] [email protected] 2 points 1 month ago

I think they just stopped updating it. So im sure its still usable just unsupported

[-] [email protected] 2 points 1 month ago

whats the replacement on linux? Did they just make dotnet work with linux natively?

[-] [email protected] 2 points 1 month ago

https://consulo.io/ (Basically a liberated jetbrains intellij/rider thing)

this post was submitted on 15 Aug 2025
34 points (94.7% liked)

Programming

22755 readers
15 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS