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).

all 10 comments

sorted by: hot top controversial new old
[–] 14 points 1 year ago (2 children)

.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.

  • source
  • hideshow 2 child comments
  • [–] 4 points 1 year ago (1 child)

    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 .
    
  • source
  • hideshow 1 child comment
  • [–] 3 points 1 year ago (2 children)

    Oh no! What happened to mono?

  • source
  • hideshow 2 child comments
  • [–] 3 points 1 year 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.

  • source
  • [–] 2 points 1 year ago

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

  • source