aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/NOTES.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet/NOTES.md')
-rw-r--r--src/dotnet/NOTES.md67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/dotnet/NOTES.md b/src/dotnet/NOTES.md
index 19fe92f..578acea 100644
--- a/src/dotnet/NOTES.md
+++ b/src/dotnet/NOTES.md
@@ -1,4 +1,71 @@
+## Configuration examples
+Installing only the latest .NET SDK version (the default).
+
+``` json
+{
+"features": {
+ "ghcr.io/devcontainers/features/dotnet:2": "latest" // or "" or {}
+}
+```
+
+Installing an additional SDK version. Multiple versions can be specified as comma-separated values.
+
+``` json
+{
+"features": {
+ "ghcr.io/devcontainers/features/dotnet:2": {
+ "additionalVersions": "lts"
+ }
+}
+```
+
+Installing specific SDK versions.
+
+``` json
+{
+"features": {
+ "ghcr.io/devcontainers/features/dotnet:2": {
+ "version": "6.0",
+ "additionalVersions": "7.0, 8.0"
+ }
+}
+```
+
+Installing a specific SDK feature band.
+
+``` json
+{
+"features": {
+ "ghcr.io/devcontainers/features/dotnet:2": {
+ "version": "6.0.4xx",
+ }
+}
+```
+
+Installing a specific SDK patch version.
+
+``` json
+{
+"features": {
+ "ghcr.io/devcontainers/features/dotnet:2": {
+ "version": "6.0.412",
+ }
+}
+```
+
+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.)
+
+``` json
+{
+"features": {
+ "ghcr.io/devcontainers/features/dotnet:2": {
+ "version": "none",
+ "dotnetRuntimeVersions": "latest, lts",
+ "aspnetCoreRuntimeVersions": "latest, lts",
+ }
+}
+```
## OS Support