Skip to content

Commit 1045404

Browse files
devcontainers-botgithub-actions
andauthored
Automated documentation update (#1001)
Automated documentation update [skip ci] Co-authored-by: github-actions <[email protected]>
1 parent 15320f0 commit 1045404

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

src/dotnet/README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This Feature installs the latest .NET SDK, which includes the .NET CLI and the s
1919
| additionalVersions | 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. | string | - |
2020
| dotnetRuntimeVersions | 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. | string | - |
2121
| aspNetCoreRuntimeVersions | 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. | string | - |
22+
| workloads | Enter additional .NET SDK workloads, separated by commas. Use 'dotnet workload search' to learn what workloads are available to install. | string | - |
2223

2324
## Customizations
2425

@@ -30,8 +31,7 @@ This Feature installs the latest .NET SDK, which includes the .NET CLI and the s
3031

3132
Installing only the latest .NET SDK version (the default).
3233

33-
``` json
34-
{
34+
``` jsonc
3535
"features": {
3636
"ghcr.io/devcontainers/features/dotnet:2": "latest" // or "" or {}
3737
}
@@ -40,7 +40,6 @@ Installing only the latest .NET SDK version (the default).
4040
Installing an additional SDK version. Multiple versions can be specified as comma-separated values.
4141

4242
``` json
43-
{
4443
"features": {
4544
"ghcr.io/devcontainers/features/dotnet:2": {
4645
"additionalVersions": "lts"
@@ -51,7 +50,6 @@ Installing an additional SDK version. Multiple versions can be specified as comm
5150
Installing specific SDK versions.
5251

5352
``` json
54-
{
5553
"features": {
5654
"ghcr.io/devcontainers/features/dotnet:2": {
5755
"version": "6.0",
@@ -63,7 +61,6 @@ Installing specific SDK versions.
6361
Installing a specific SDK feature band.
6462

6563
``` json
66-
{
6764
"features": {
6865
"ghcr.io/devcontainers/features/dotnet:2": {
6966
"version": "6.0.4xx",
@@ -74,7 +71,6 @@ Installing a specific SDK feature band.
7471
Installing a specific SDK patch version.
7572

7673
``` json
77-
{
7874
"features": {
7975
"ghcr.io/devcontainers/features/dotnet:2": {
8076
"version": "6.0.412",
@@ -85,7 +81,6 @@ Installing a specific SDK patch version.
8581
Installing only the .NET Runtime or the ASP.NET Core Runtime. (The SDK includes all runtimes so this configuration is only useful if you need to run .NET apps without building them from source.)
8682

8783
``` json
88-
{
8984
"features": {
9085
"ghcr.io/devcontainers/features/dotnet:2": {
9186
"version": "none",
@@ -95,6 +90,16 @@ Installing only the .NET Runtime or the ASP.NET Core Runtime. (The SDK includes
9590
}
9691
```
9792

93+
Installing .NET workloads. Multiple workloads can be specified as comma-separated values.
94+
95+
``` json
96+
"features": {
97+
"ghcr.io/devcontainers/features/dotnet:2": {
98+
"workloads": "aspire, wasm-tools"
99+
}
100+
}
101+
```
102+
98103
## OS Support
99104

100105
This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed.

0 commit comments

Comments
 (0)