You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dotnet/README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ This Feature installs the latest .NET SDK, which includes the .NET CLI and the s
19
19
| 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 | - |
20
20
| 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 | - |
21
21
| 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 | - |
22
23
23
24
## Customizations
24
25
@@ -30,8 +31,7 @@ This Feature installs the latest .NET SDK, which includes the .NET CLI and the s
30
31
31
32
Installing only the latest .NET SDK version (the default).
32
33
33
-
```json
34
-
{
34
+
```jsonc
35
35
"features": {
36
36
"ghcr.io/devcontainers/features/dotnet:2":"latest"// or "" or {}
37
37
}
@@ -40,7 +40,6 @@ Installing only the latest .NET SDK version (the default).
40
40
Installing an additional SDK version. Multiple versions can be specified as comma-separated values.
41
41
42
42
```json
43
-
{
44
43
"features": {
45
44
"ghcr.io/devcontainers/features/dotnet:2": {
46
45
"additionalVersions": "lts"
@@ -51,7 +50,6 @@ Installing an additional SDK version. Multiple versions can be specified as comm
51
50
Installing specific SDK versions.
52
51
53
52
```json
54
-
{
55
53
"features": {
56
54
"ghcr.io/devcontainers/features/dotnet:2": {
57
55
"version": "6.0",
@@ -63,7 +61,6 @@ Installing specific SDK versions.
63
61
Installing a specific SDK feature band.
64
62
65
63
```json
66
-
{
67
64
"features": {
68
65
"ghcr.io/devcontainers/features/dotnet:2": {
69
66
"version": "6.0.4xx",
@@ -74,7 +71,6 @@ Installing a specific SDK feature band.
74
71
Installing a specific SDK patch version.
75
72
76
73
```json
77
-
{
78
74
"features": {
79
75
"ghcr.io/devcontainers/features/dotnet:2": {
80
76
"version": "6.0.412",
@@ -85,7 +81,6 @@ Installing a specific SDK patch version.
85
81
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.)
86
82
87
83
```json
88
-
{
89
84
"features": {
90
85
"ghcr.io/devcontainers/features/dotnet:2": {
91
86
"version": "none",
@@ -95,6 +90,16 @@ Installing only the .NET Runtime or the ASP.NET Core Runtime. (The SDK includes
95
90
}
96
91
```
97
92
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
+
98
103
## OS Support
99
104
100
105
This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed.
0 commit comments