blob: 3ca4bbd5e42307e2291890e403bf52eb67afd5eb (
plain) (
tree)
|
|
# 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": {
"ghcr.io/devcontainers/features/dotnet:1": {
"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 |
| runtimeOnly | Install just the dotnet runtime if true, and sdk if false. | boolean | - |
| installUsingApt | If true, it installs using apt instead of the release URL | boolean | true |
---
_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/dotnet/devcontainer-feature.json)._
|