aboutsummaryrefslogblamecommitdiff
path: root/src/dotnet/README.md
blob: cce0df531e2e1125d246e6c45719e95306752e5f (plain) (tree)
1
2
3
4


                     
                                                                                                                                                               

























                                                                                                                          

# Dotnet CLI (dotnet)

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.

## Example Usage

```json
"features": [
    {
        "id": "devcontainers/features/dotnet@latest",
        "options": {
            "version": "latest"
        }
    }
]
```

## Options

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| version | Select or enter a dotnet CLI version. (Available versions may vary by Linux distribution.) | string | latest |
| runtime_only | Install just the dotnet runtime if true, and sdk if false. | boolean | - |
| override_default_version | If true, overrides existing version (if any) of dotnet on the PATH | boolean | true |
| install_using_apt | If true, it installs using apt instead of the release URL | boolean | true |

---

_Note: This file was auto-generated from the [devcontainer-feature.json](./devcontainer-feature.json)._