@@ -179,11 +179,11 @@ function Process-Arguments() {
179179
180180function Update-Arguments () {
181181 if ($script :noVisualStudio ) {
182- $script :bootstrapTfm = " net5 .0"
182+ $script :bootstrapTfm = " net6 .0"
183183 $script :msbuildEngine = " dotnet"
184184 }
185185
186- if ($bootstrapTfm -eq " net5 .0" ) {
186+ if ($bootstrapTfm -eq " net6 .0" ) {
187187 if (-Not (Test-Path " $ArtifactsDir \Bootstrap\fsc\fsc.runtimeconfig.json" )) {
188188 $script :bootstrap = $True
189189 }
@@ -204,7 +204,7 @@ function BuildSolution([string] $solutionName) {
204204 $officialBuildId = if ($official ) { $env: BUILD_BUILDNUMBER } else { " " }
205205 $toolsetBuildProj = InitializeToolset
206206 $quietRestore = ! $ci
207- $testTargetFrameworks = if ($testCoreClr ) { " net5 .0" } else { " " }
207+ $testTargetFrameworks = if ($testCoreClr ) { " net6 .0" } else { " " }
208208
209209 # Do not set the property to true explicitly, since that would override value projects might set.
210210 $suppressExtensionDeployment = if (! $deployExtensions ) { " /p:DeployExtension=false" } else { " " }
@@ -477,7 +477,7 @@ try {
477477 $script :BuildCategory = " Test"
478478 $script :BuildMessage = " Failure running tests"
479479 $desktopTargetFramework = " net472"
480- $coreclrTargetFramework = " net5 .0"
480+ $coreclrTargetFramework = " net6 .0"
481481
482482 if ($testDesktop ) {
483483 TestUsingXUnit - testProject " $RepoRoot \tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" - targetFramework $desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharp.Compiler.ComponentTests\" - noTestFilter $true
0 commit comments