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

                   
                       
                         
                                                                                                                                                                                     


                             





                          


                                                                                                                       

                              

                                                                                       
          



                                                                                               
          
                              


                                                                                      


                     
                                                   



                                        

     
{
    "id": "dotnet",
    "version": "1.0.0",
    "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.0",
                "5.0",
                "3.1"
            ],
            "default": "latest",
            "description": "Select or enter a dotnet CLI version. (Available versions may vary by Linux distribution.)"
        },
        "runtime_only": {
            "type": "boolean",
            "default": false,
            "description": "Install just the dotnet runtime if true, and sdk if false."
        },
        "override_default_version": {
            "type": "boolean",
            "default": "true",
            "description": "If true, overrides existing version (if any) of dotnet on the PATH"
        },
        "install_using_apt": {
            "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}"
    },
    "extensions": [
        "ms-dotnettools.csharp"
    ]
}