{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "taskName": "build",
            "type": "process",
            "windows": {
                "command": "${workspaceRoot}\\.dotnet\\dotnet.exe",
                "args": [
                    "build",
                    "OmniSharp.sln",
                    "/p:GenerateFullPaths=true"
                ]
            },
            "osx": {
                "command": "msbuild",
                "args": [
                    "OmniSharp.sln",
                    "/p:GenerateFullPaths=true"
                ]
            },
            "linux": {
                "command": "msbuild",
                "args": [
                    "OmniSharp.sln",
                    "/p:GenerateFullPaths=true"
                ]
            },
            "group": "build",
            "presentation": {
                "reveal": "always",
                "echo": true,
                "focus": false,
                "panel": "shared"
            },
            // Use the standard MS compiler pattern to detect errors, warnings and infos
            "problemMatcher": "$msCompile"
        }
    ]
}
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "taskName": "build",
            "type": "process",
            "windows": {
                "command": "${workspaceRoot}\\.dotnet\\dotnet.exe",
                "args": [
                    "build",
                    "OmniSharp.sln",
                    "/p:GenerateFullPaths=true"
                ]
            },
            "osx": {
                "command": "msbuild",
                "args": [
                    "OmniSharp.sln",
                    "/p:GenerateFullPaths=true"
                ]
            },
            "linux": {
                "command": "msbuild",
                "args": [
                    "OmniSharp.sln",
                    "/p:GenerateFullPaths=true"
                ]
            },
            "group": "build",
            "presentation": {
                "reveal": "always",
                "echo": true,
                "focus": false,
                "panel": "shared"
            },
            // Use the standard MS compiler pattern to detect errors, warnings and infos
            "problemMatcher": "$msCompile"
        },
        {
            "taskName": "restore",
            "type": "process",
            "windows": {
                "command": "${workspaceRoot}\\.dotnet\\dotnet.exe"
            },
            "osx": {
                "command": "${workspaceRoot}/.dotnet/dotnet"
            },
            "linux": {
                "command": "${workspaceRoot}/.dotnet/dotnet"
            },
            "args": [
                "restore",
                "OmniSharp.sln"
            ],
            "group": "build",
            "presentation": {
                "reveal": "always",
                "echo": true,
                "focus": false,
                "panel": "shared"
            },
            // Use the standard MS compiler pattern to detect errors, warnings and infos
            "problemMatcher": "$msCompile"
        }
    ]
}
Add restore task for VS Code
Add restore task for VS Code
