I’m about to start a new job working with C#/.NET and will try to practice before I start. How much of a pain is it to do on Linux?

  • dinomug
    link
    fedilink
    arrow-up
    8
    ·
    3 years ago

    Mono is the best open source free/libre??🤔 implementation of DotNet and CLI specification out there, it’s officially sponsored by M$. DotNet/C# it’s a great technology/platform BUT mostly of its ecosystem is M$/🍎 dependent, and therefore tends to work with it in proprietary environments 😢.

          • dinomug
            link
            fedilink
            arrow-up
            3
            ·
            3 years ago

            Horrible 😨 . Surprising that the community of its developers accepts this. The Open Source Initiative has done a great job brainwashing 🧠 .

          • Bilb!
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            3 years ago

            https://github.com/dotnet/source-build/issues/1930 Here’s more info about the bootstrapping problem if anyone is interested.

            The sequence of commits you’d have to build to get from one to the the other might be prohibitively long, and AFAIK nobody is tracking this. Fortunately we avoid using floating versions in our repos (we commit updated pinned versions into the repo source), so it should be traceable. But I don’t think we have tooling to do that tracing.

            It sounds like it might be theoretically possible, but unproven and not at all practical in the current scenario.

  • Bilb!
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    3 years ago

    For simply practicing with C# and .Net you should have no trouble on Linux, but once you begin work it really depends on what version of .NET they’re using at your new job. If it’s modern (>= 5.0, or Core 1 through 3) you shouldn’t have any trouble unless they’re building Windows UI applications, but if it’s .NET Framework things get dicey. Mono doesn’t cover everything in .Net Framework and I would not count on it being a drop in replacement.

    It’s impossible for me to use a pure Linux environment for work because we maintain a lot of ASP.NET webforms projects running on .NET 4.5, but on the other hand when I want to use C# for making game projects with Godot or experiment with newer .NET stuff like Blazor there is no friction working with C#/.NET on Linux.

    Like @youngbrett@lemmy.ml mentioned, Rider is a fantastic IDE that is available to you if that’s your thing. I use it both on Windows and Linux, preferring it to Visual Studio. Rider is not free, however, and requires a license to use it beyond 30 days.