Install VS Code on arch linux. When trying to compile the simplest hellowolrd got the answer:

Please set up your launch configuration file to debug your application.

I wanted to install omnisharp, but I did not understand which of the packages in their repository to install for VS Code and how to connect it later.

The main task is to run VS Code and be able to work with C # in it.

  • Do you have mono installed? If installed, make sure you have the latest version. - Mstislav Pavlov
  • Mono worth current. Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Sun Nov 29 17:03:57 UTC 2015) - Dubomire
  • Are you trying to make a helloy world asp mvc application? - Mstislav Pavlov
  • using System; namespace mmNameSpace {class Testing {static void Main () {Console.WriteLine ("Hello"); Console.ReadKey (); }}} - Dubomire
  • no matter - any simple console application, just to compile. The problem is that the debugger list is empty and I don’t understand how to add a debugger for C # - Dubomire

1 answer 1

Without the appropriate plug-ins, you cannot even build a simple console application, since without them VCS is a little more than a text editor.

I recommend reading this article. There is a good overview and links to various plugins.

Here you can find instructions on how to create a console layout.

  • The article is excellent and I didn’t read it before I started working with Code, but where can I find plugins for basic C #? Is it asp.net? I suggested that it would be most convenient for me to use omnisharp, it is officially declared MS as supported. But in the abundance of their packages on the repository, I could not find the one needed for VS CODE - Dubomire
  • As part of the connection mono - he, as I described above, is installed. MS recommends (here: code.visualstudio.com/Docs/editor/debugging ) If you want to attach a mono program, go to mono - debugger -debugger-agent = transport = dt_socket, server = y, address = 127.0.0.1: 55555 Program.exe But it is not clear what kind of Program.exe it is. Is this the program I compiled? But how do I get it, if I can not compile anything. Which port to register in launch.json is also not clear. - Dubomire
  • @Dubomire in the same article begins with the words, install ASP.NET5 :) - Mstislav Pavlov