Konfiguracja Visual Studio Code

Pliki .json wgrywamy do folderu .vscode naszego projektu

{
    "configurations": [
    {
        "name": "Mono",
        "type": "mono",
        "request": "launch",
        "preLaunchTask": "build",
        "program": "${workspaceFolder}/win.exe",
        "console": "internalConsole"
    }
    ]
}

launch.json

{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "tasks": [
    {
      "label": "build",
      "type": "shell",
      "command": "mcs win.cs -r:System.Windows.Forms.dll -r:System.Drawing.dll",
      
     
    }
  ]
}