File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1717 },
1818 },
1919 "dependsOn" : {
20- // how to ensure the correct .NET version is installed? seems it would require using onCreateCommand
21- // to write out a temporary devcontainer.json. For now, it's fixed at 9.0
22- "ghcr.io/devcontainers/features/dotnet" : " 9.0"
20+ "ghcr.io/devcontainers/features/dotnet" : {
21+ "version" : " 8.0" ,
22+ "additionalVersions" : " 9.0"
23+ }
2324 }
2425}
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ source dotnet_env.sh
1717check " dotnet is installed in DOTNET_ROOT and execute permission is granted" \
1818test -x " $DOTNET_ROOT /dotnet"
1919
20+ check " dotnet 8.0 is installed" \
21+ test " $( $DOTNET_ROOT /dotnet --info | grep ' 8.0.' ) "
22+
23+ check " dotnet 9.0 is installed" \
24+ test " $( $DOTNET_ROOT /dotnet --info | grep ' 9.0.' ) "
25+
2026check " dotnetaspire templates are installed" \
2127test " $DOTNET_ROOT /dotnet new aspire"
2228
You can’t perform that action at this time.
0 commit comments