aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/devcontainer-feature.json
blob: b7aecaad761a1b40f0e4dc6d3e54d2b3eba6fbf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
    "id": "dotnet",
    "version": "1.0.3",
    "name": "Dotnet CLI",
    "description": "Installs the .NET CLI. Provides option of installing sdk or runtime, and option of versions to install. Uses latest version of .NET sdk as defaults to install.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "6",
                "5",
                "3.1"
            ],
            "default": "latest",
            "description": "Select or enter a dotnet CLI version. (Available versions may vary by Linux distribution.)"
        },
        "runtimeOnly": {
            "type": "boolean",
            "default": false,
            "description": "Install just the dotnet runtime if true, and sdk if false."
        },
        "installUsingApt": {
            "type": "boolean",
            "default": "true",
            "description": "If true, it installs using apt instead of the release URL"
        }
    },
    "containerEnv": {
        "DOTNET_ROOT": "/usr/local/dotnet/current",
        "PATH": "${PATH}:${DOTNET_ROOT}"
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-dotnettools.csharp"
            ]
        }
    }
}