aboutsummaryrefslogblamecommitdiff
path: root/src/dotnet/devcontainer-feature.json
blob: f00e0d3ea275b0407f93e97feb8c0814cb4cf90b (plain) (tree)
1
2
3
4
5
6
7
8
9

                   
                       
                         
                                                                                         
                                                                                                                                                                                               


                             

                          




                       
              
                                
                                                                                                                                                                                
          








                                                                                                                                                                                                         
          



                                                                                                                                                                                                                 


                     



                                                     
      





                                       



                                                     
 
{
    "id": "dotnet",
    "version": "2.0.0",
    "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"
    ]
}