aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/devcontainer-feature.json
blob: b9c7260ea2ce32aeaba38e038204584045dac5a5 (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
45
46
47
48
49
50
51
52
53
{
    "id": "dotnet",
    "version": "2.0.2",
    "name": "Dotnet CLI",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
    "description": "This Feature installs the latest .NET SDK, which includes the .NET CLI and the shared runtime. Options are provided to choose a different version or additional versions.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "lts",
                "none",
                "8.0",
                "7.0",
                "6.0"
            ],
            "default": "latest",
            "description": "Select or enter a .NET SDK version. Use 'latest' for the latest version, 'lts' for the latest LTS version, 'X.Y' or 'X.Y.Z' for a specific version."
        },
        "additionalVersions": {
            "type": "string",
            "default": "",
            "description": "Enter additional .NET SDK versions, separated by commas. Use 'latest' for the latest version, 'lts' for the latest LTS version, 'X.Y' or 'X.Y.Z' for a specific version."
        },
        "dotnetRuntimeVersions": {
            "type": "string",
            "default": "",
            "description": "Enter additional .NET runtime versions, separated by commas. Use 'latest' for the latest version, 'lts' for the latest LTS version, 'X.Y' or 'X.Y.Z' for a specific version."
        },
        "aspNetCoreRuntimeVersions": {
            "type": "string",
            "default": "",
            "description": "Enter additional ASP.NET Core runtime versions, separated by commas. Use 'latest' for the latest version, 'lts' for the latest LTS version, 'X.Y' or 'X.Y.Z' for a specific version."
        }
    },
    "containerEnv": {
        "DOTNET_ROOT": "/usr/share/dotnet",
        "PATH": "$PATH:$DOTNET_ROOT:~/.dotnet/tools",
        "DOTNET_RUNNING_IN_CONTAINER": "true",
        "DOTNET_USE_POLLING_FILE_WATCHER": "true"
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-dotnettools.csharp"
            ]
        }
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}