File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,12 +85,6 @@ func runMain() error {
8585 }
8686 // Create the feature
8787 feature := installer .NewFeature (".NET" , true )
88- if * nugetConfigPath != "" {
89- feature .AddComponents (& nugetConfigComponent {
90- ComponentBase : installer .NewComponentBase ("Nuget Config" , installer .VERSION_IRRELEVANT ),
91- NugetConfigPath : * nugetConfigPath ,
92- })
93- }
9488 // add sdks
9589 for _ , sdkVersion := range allSdks {
9690 component := & sdkComponent {
@@ -118,6 +112,13 @@ func runMain() error {
118112 }
119113 feature .AddComponents (component )
120114 }
115+ // nuget config
116+ if * nugetConfigPath != "" {
117+ feature .AddComponents (& nugetConfigComponent {
118+ ComponentBase : installer .NewComponentBase ("Nuget Config" , installer .VERSION_IRRELEVANT ),
119+ NugetConfigPath : * nugetConfigPath ,
120+ })
121+ }
121122 // workloads
122123 if len (* workloads ) > 0 {
123124 feature .AddComponents (& workloadComponent {
Original file line number Diff line number Diff line change 88 },
99 "features" : {
1010 "./dotnet" : {
11- "version" : " 8.0"
11+ "version" : " 8.0" ,
12+ "nugetConfigPath" : " https://raw.githubusercontent.com/postfinance/devcontainer-features/refs/heads/main/override-all.env"
1213 }
1314 }
1415 },
You can’t perform that action at this time.
0 commit comments