I tried to use Visual Studio Code a few times. One time, I encountered an error related to OmniSharp, though I don’t remember the exact details. However, Python worked fine, for example. Then, I reinstalled Arch, and now I’ve decided to try using Visual Studio Code again because I need it to learn programming. Unfortunately, I just can’t make it work. When I start debugging, nothing happens—no errors, nothing…

I have installed everything needed(.net-sdk, mono). However, the problem is that I just can’t work with it properly. I am unable to run the debugger. When I press F5 and select a debugger, nothing happens. I managed to run a ‘hello world’ using the ‘dotnet run’ command, but that’s all. I have no idea how to fix it, and I can’t find any information about my issue.

  • @[email protected]
    link
    fedilink
    -2511 months ago

    C# is microsoft, so you’ll want to use windows for that or pick a better language to learn.

    • @[email protected]
      link
      fedilink
      English
      2711 months ago

      Username checks out

      Your comment is not entirely correct. C# is invented by Microsoft, but today runs equally well on practically all platforms including Linux, MacOS, Windows, IOS, Android etc. It even runs as WebAssembly.

      • @[email protected]
        link
        fedilink
        -911 months ago

        Last time I tried to get a C# application running on linux, I got so frustrated of the mess that is mono and just ran it through wine. C# is still windows first, even if it theoretically works with any OS.

          • SALT
            link
            fedilink
            English
            111 months ago

            Avalonia in Linux does it job for almost case… it’s crazy tbh…

        • @NixDev
          link
          611 months ago

          I have been going through Azure training for work and I have been doing all my training/dev on Arch. I haven’t run into any issues with c#. Haven’t had to use Omni Sharp that I can recall but vscode has been working fine with c#