@@ -177,11 +177,11 @@ function Process-Arguments() {
177177
178178function Update-Arguments () {
179179 if ($script :noVisualStudio ) {
180- $script :bootstrapTfm = " netcoreapp3.1 "
180+ $script :bootstrapTfm = " net5.0 "
181181 $script :msbuildEngine = " dotnet"
182182 }
183183
184- if ($bootstrapTfm -eq " netcoreapp3.1 " ) {
184+ if ($bootstrapTfm -eq " net5.0 " ) {
185185 if (-Not (Test-Path " $ArtifactsDir \Bootstrap\fsc\fsc.runtimeconfig.json" )) {
186186 $script :bootstrap = $True
187187 }
@@ -201,7 +201,7 @@ function BuildSolution([string] $solutionName) {
201201 $officialBuildId = if ($official ) { $env: BUILD_BUILDNUMBER } else { " " }
202202 $toolsetBuildProj = InitializeToolset
203203 $quietRestore = ! $ci
204- $testTargetFrameworks = if ($testCoreClr ) { " netcoreapp3.1 " } else { " " }
204+ $testTargetFrameworks = if ($testCoreClr ) { " net5.0 " } else { " " }
205205
206206 # Do not set the property to true explicitly, since that would override value projects might set.
207207 $suppressExtensionDeployment = if (! $deployExtensions ) { " /p:DeployExtension=false" } else { " " }
@@ -458,7 +458,7 @@ try {
458458 $script :BuildCategory = " Test"
459459 $script :BuildMessage = " Failure running tests"
460460 $desktopTargetFramework = " net472"
461- $coreclrTargetFramework = " netcoreapp3.1 "
461+ $coreclrTargetFramework = " net5.0 "
462462
463463 if ($testDesktop ) {
464464 TestUsingXUnit - testProject " $RepoRoot \tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" - targetFramework $desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharp.Compiler.ComponentTests\" - noTestFilter $true
0 commit comments