aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/devcontainer-feature.json
blob: cff97dc8fffb4e50d6a04afeefed5454c3c32bb2 (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
41
42
43
44
{
    "id": "dotnet",
    "version": "2.0",
    "name": ".NET",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
    "description": "Installs .NET and its CLI. Offers options to install a specific version of .NET, additional versions of .NET, or just the .NET runtime.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "7",
                "6",
                "3"
            ],
            "default": "latest",
            "description": "Version of .NET to install. Use 'latest' to install the latest LTS version."
        },
        "additionalVersions": {
            "type": "string",
            "default": "",
            "description": "Comma-separated list of additional .NET versions to install."
        },
        "runtimeOnly": {
            "type": "boolean",
            "default": false,
            "description": "Only install the .NET runtime. If true, then the .NET SDK is not installed."
        }
    },
    "containerEnv": {
        "DOTNET_ROOT": "/usr/local/dotnet/current",
        "PATH": "/usr/local/dotnet/current:${PATH}"
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-dotnettools.csharp"
            ]
        }
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}