@@ -67,10 +67,10 @@ let mutable dotnetExePath = "dotnet"
6767
6868let buildDir = " bin"
6969let buildDirNet461 = buildDir @@ " net461"
70- let buildDirNetCore = buildDir @@ " netcoreapp2.1 "
70+ let buildDirNet = buildDir @@ " net8 "
7171let buildDirBootstrapper = " bin_bootstrapper"
7272let buildDirBootstrapperNet461 = buildDirBootstrapper @@ " net461"
73- let buildDirBootstrapperNetCore = buildDirBootstrapper @@ " netcoreapp2.1 "
73+ let buildDirBootstrapperNet = buildDirBootstrapper @@ " net8 "
7474let tempDir = " temp"
7575let buildMergedDir = buildDir @@ " merged"
7676let paketFile = buildMergedDir @@ " paket.exe"
@@ -116,10 +116,10 @@ Target "Clean" (fun _ ->
116116 ++ " tests/**/bin"
117117 ++ buildDir
118118 ++ buildDirNet461
119- ++ buildDirNetCore
119+ ++ buildDirNet
120120 ++ buildDirBootstrapper
121121 ++ buildDirBootstrapperNet461
122- ++ buildDirBootstrapperNetCore
122+ ++ buildDirBootstrapperNet
123123 ++ tempDir
124124 |> CleanDirs
125125
@@ -199,8 +199,8 @@ Target "Publish" (fun _ ->
199199 DotNetCli.Publish ( fun c ->
200200 { c with
201201 Project = " src/Paket"
202- Framework = " netcoreapp2.1 "
203- Output = FullName ( currentDirectory </> buildDirNetCore )
202+ Framework = " net8 "
203+ Output = FullName ( currentDirectory </> buildDirNet )
204204 ToolPath = dotnetExePath
205205 AdditionalArgs = publishArgs
206206 })
@@ -217,8 +217,8 @@ Target "Publish" (fun _ ->
217217 DotNetCli.Publish ( fun c ->
218218 { c with
219219 Project = " src/Paket.Bootstrapper"
220- Framework = " netcoreapp2.1 "
221- Output = FullName ( currentDirectory </> buildDirBootstrapperNetCore )
220+ Framework = " net8 "
221+ Output = FullName ( currentDirectory </> buildDirBootstrapperNet )
222222 ToolPath = dotnetExePath
223223 AdditionalArgs = publishArgs
224224 })
@@ -248,10 +248,10 @@ Target "RunTests" (fun _ ->
248248 })
249249
250250 runTest " net" " Paket.Tests" " net461"
251- runTest " netcore" " Paket.Tests" " netcoreapp3.0 "
251+ runTest " netcore" " Paket.Tests" " net8 "
252252
253253 runTest " net" " Paket.Bootstrapper.Tests" " net461"
254- runTest " netcore" " Paket.Bootstrapper.Tests" " netcoreapp3.0 "
254+ runTest " netcore" " Paket.Bootstrapper.Tests" " net8 "
255255)
256256
257257Target " QuickTest" ( fun _ ->
@@ -355,7 +355,7 @@ Target "RunIntegrationTestsNetCore" (fun _ ->
355355 DotNetCli.Test ( fun c ->
356356 { c with
357357 Project = " integrationtests/Paket.IntegrationTests/Paket.IntegrationTests.fsproj"
358- Framework = " netcoreapp3.1 "
358+ Framework = " net8 "
359359 AdditionalArgs =
360360 [ " --filter" ; ( if testSuiteFilterFlakyTests then " TestCategory=Flaky" else " TestCategory!=Flaky" )
361361 sprintf " --logger:trx;LogFileName=%s " ( " tests_result/netcore/Paket.IntegrationTests/TestResult.trx" |> Path.GetFullPath) ]
0 commit comments