@@ -195,9 +195,7 @@ module Targets =
195195 + commitHash
196196 + Environment.NewLine
197197 + Environment.NewLine
198- + w
199- .ToString()
200- .Replace( " \u204B " , Environment.NewLine)
198+ + w.ToString() .Replace( " \u204B " , Environment.NewLine)
201199
202200 printfn " release notes are %A characters" releaseNotes.Length
203201 Assert.That( releaseNotes.Length, Is.LessThan 35000 )
@@ -350,15 +348,15 @@ module Targets =
350348 let BuildRelease =
351349 ( fun _ ->
352350 try
353- " ./altcode.test/altcode.test.sln "
351+ " ./altcode.test/altcode.test.slnx "
354352 |> dotnetBuildRelease
355353 with x ->
356354 printfn " %A " x
357355 reraise ())
358356
359357 let BuildDebug =
360358 ( fun _ ->
361- " ./altcode.test/altcode.test.sln "
359+ " ./altcode.test/altcode.test.slnx "
362360 |> dotnetBuildDebug)
363361
364362 let Validation =
@@ -368,7 +366,7 @@ module Targets =
368366 { p.WithCommon dotnetOptions with
369367 MSBuildParams = cliArguments
370368 Configuration = DotNet.BuildConfiguration.Debug
371- Framework = Some " net7 .0"
369+ Framework = Some " net8 .0"
372370 NoBuild = true })
373371 " ./altcode.test/validation" )
374372
@@ -419,6 +417,7 @@ module Targets =
419417 ( fun to' ->
420418 { to'.WithCommon( setBaseOptions) with
421419 MSBuildParams = cliArguments
420+ Framework = Some " net8.0"
422421 NoBuild = true }
423422 .WithAltCoverOptions
424423 prepare
@@ -489,7 +488,11 @@ module Targets =
489488 |> ( fun u ->
490489 u |> ( printfn " %A uncovered lines" )
491490 // printfn "%A" (u.GetType().FullName)
492- Assert.That( u, Is.EqualTo [ 0 ], " All lines should be covered" )))
491+ Assert.That< int list>(
492+ u,
493+ Is.EqualTo< int list> [ 0 ],
494+ " All lines should be covered"
495+ )))
493496
494497 // Code Analysis
495498
@@ -513,9 +516,8 @@ module Targets =
513516 let failOnIssuesFound ( issuesFound : bool ) =
514517 Assert.That( issuesFound, Is.False, " Lint issues were found" )
515518
516- [ !! " ./**/*.fsproj"
517- |> Seq.sortBy ( Path.GetFileName)
518- !! " ./Build/*.fsx" |> Seq.map Path.GetFullPath ]
519+ [ !! " ./**/*.fsproj" |> Seq.sortBy ( Path.GetFileName)
520+ !! " ./Build/*.fsx" |> Seq.map Path.GetFullPath ]
519521 |> Seq.concat
520522 |> Seq.map doLintAsync
521523 |> throttle
@@ -544,10 +546,7 @@ module Targets =
544546 Directory.ensure " ./_Binaries"
545547
546548 Actions.PrepareReadMe(
547- ( Copyright)
548- .Replace( " ©" , " ©" )
549- .Replace( " <" , " <" )
550- .Replace( " >" , " >" )
549+ ( Copyright) .Replace( " ©" , " ©" ) .Replace( " <" , " <" ) .Replace( " >" , " >" )
551550 ))
552551
553552 //let Deployment ignore
@@ -563,7 +562,7 @@ module Targets =
563562 |> String.IsNullOrWhiteSpace
564563 |> not
565564 then
566- (!! " ./_Packagin*/*.nupkg" )
565+ (!! " ./_Packagin*/*.nupkg" )
567566 |> Seq.iter ( fun f ->
568567 printfn " Publishing %A from %A " f currentBranch
569568
0 commit comments