-
Couldn't load subscription status.
- Fork 586
Further attempts at building with .NET 8 #2852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
0fc9b22
994c15d
b0420a8
8b5664d
b007399
5937b75
8840b4f
c68dbb5
0a1f151
c516585
461ed23
2fc0ca8
21017b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ | |
| ] | ||
| }, | ||
| "fsdocs-tool": { | ||
| "version": "16.0.1", | ||
| "version": "20.0.1", | ||
| "commands": [ | ||
| "fsdocs" | ||
| ] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,10 +6,7 @@ | |
| source release/dotnetcore | ||
| source https://api.nuget.org/v3/index.json | ||
| nuget FSharp.Core | ||
| nuget Microsoft.Build 17.3.2 | ||
| nuget Microsoft.Build.Framework 17.3.2 | ||
| nuget Microsoft.Build.Tasks.Core 17.3.2 | ||
| nuget Microsoft.Build.Utilities.Core 17.3.2 | ||
| nuget Microsoft.Build 17.11.4 | ||
| nuget System.AppContext prerelease | ||
| nuget Paket.Core prerelease | ||
| nuget Fake.Api.GitHub prerelease | ||
|
|
@@ -41,7 +38,7 @@ nuget System.Reactive | |
| nuget Suave | ||
| nuget Newtonsoft.Json | ||
| nuget System.Net.Http | ||
| nuget Octokit 6.0.0 | ||
| nuget Octokit 13.0.1 | ||
| nuget Microsoft.Deployment.DotNet.Releases //" | ||
|
|
||
| open System.Reflection | ||
|
|
@@ -660,14 +657,14 @@ Target.create "DotNetCoreIntegrationTests" (fun _ -> | |
|
|
||
| runExpecto | ||
| root | ||
| ("src" </> "test" </> "Fake.Core.IntegrationTests" </> "bin" </> "Release" </> "net6.0" </> "Fake.Core.IntegrationTests.dll") | ||
| ("src" </> "test" </> "Fake.Core.IntegrationTests" </> "bin" </> "Release" </> "net8.0" </> "Fake.Core.IntegrationTests.dll") | ||
| "Fake_Core_IntegrationTests.TestResults.xml") | ||
|
|
||
| Target.create "TemplateIntegrationTests" (fun _ -> | ||
|
|
||
| runExpecto | ||
| root | ||
| ("src" </> "test" </> "Fake.DotNet.Cli.IntegrationTests" </> "bin" </> "Release" </> "net6.0" </> "Fake.DotNet.Cli.IntegrationTests.dll") | ||
| ("src" </> "test" </> "Fake.DotNet.Cli.IntegrationTests" </> "bin" </> "Release" </> "net8.0" </> "Fake.DotNet.Cli.IntegrationTests.dll") | ||
| "Fake_DotNet_Cli_IntegrationTests.TestResults.xml" | ||
|
|
||
| Shell.rm_rf (root </> "test")) | ||
|
|
@@ -676,13 +673,13 @@ Target.create "DotNetCoreUnitTests" (fun _ -> | |
| // dotnet run -p src/test/Fake.Core.UnitTests/Fake.Core.UnitTests.fsproj | ||
| runExpecto | ||
| root | ||
| ("src" </> "test" </> "Fake.Core.UnitTests" </> "bin" </> "Release" </> "net6.0" </> "Fake.Core.UnitTests.dll") | ||
| ("src" </> "test" </> "Fake.Core.UnitTests" </> "bin" </> "Release" </> "net8.0" </> "Fake.Core.UnitTests.dll") | ||
| "Fake_Core_UnitTests.TestResults.xml" | ||
|
|
||
| // dotnet run --project src/test/Fake.Core.CommandLine.UnitTests/Fake.Core.CommandLine.UnitTests.fsproj | ||
| runExpecto | ||
| root | ||
| ("src" </> "test" </> "Fake.Core.CommandLine.UnitTests" </> "bin" </> "Release" </> "net6.0" </> "Fake.Core.CommandLine.UnitTests.dll") | ||
| ("src" </> "test" </> "Fake.Core.CommandLine.UnitTests" </> "bin" </> "Release" </> "net8.0" </> "Fake.Core.CommandLine.UnitTests.dll") | ||
| "Fake_Core_CommandLine_UnitTests.TestResults.xml") | ||
|
|
||
| // ---------------------------------------------------------------------------------------------------- | ||
|
|
@@ -727,9 +724,9 @@ Target.create "BootstrapFake" (fun _ -> | |
|
|
||
| let fileName = | ||
| if Environment.isUnix then | ||
| nugetDncDir </> "Fake.netcore/current/fake" | ||
| (nugetDncDir </> "Fake.netcore" </> "current" </> "fake") | ||
| else | ||
| nugetDncDir </> "Fake.netcore/current/fake.exe" | ||
| (nugetDncDir </> "Fake.netcore" </> "current" </> "fake.exe") | ||
|
|
||
|
|
||
| let processResult = | ||
|
|
@@ -776,7 +773,7 @@ Target.create "_DotNetPublish_portable" (fun _ -> | |
| DotNet.publish | ||
| (fun c -> | ||
| { c with | ||
| Framework = Some "net6.0" | ||
| Framework = Some "net8.0" | ||
| OutputPath = Some outDir } | ||
| |> dotnetSimple) | ||
| netcoreFsproj | ||
|
|
@@ -811,7 +808,7 @@ runtimes | |
| Runtime = Some runtime.Value | ||
| Configuration = DotNet.Release | ||
| OutputPath = Some outDir | ||
| Framework = Some "net6.0" | ||
| Framework = Some "net8.0" | ||
| // DisableInternalBinLog: https://github.com/fsprojects/FAKE/issues/2722 | ||
| MSBuildParams = { MSBuild.CliArguments.Create() with DisableInternalBinLog = true }} | ||
| |> dotnetSimple) | ||
|
|
@@ -842,7 +839,7 @@ Target.create "CacheDotNetReleases" (fun _ -> | |
| |> Async.AwaitTask | ||
| |> Async.RunSynchronously | ||
| |> List.ofSeq | ||
| |> List.find (fun product -> product.ProductVersion.Equals("6.0")) | ||
| |> List.find (fun product -> product.ProductVersion.Equals("8.0")) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure what the logic for this (or cachedDotnetSdkReleases.json) should be when updating .NET versions. |
||
|
|
||
| let client = new HttpClient() | ||
|
|
||
|
|
@@ -899,8 +896,8 @@ Target.create "DotNetCreateNuGetPackage" (fun _ -> | |
| Directory.ensure "temp" | ||
| let testZip = "temp/tests.zip" | ||
|
|
||
| !! "src/test/*/bin/Release/net6.0/**" |> Zip.zip "src/test" testZip | ||
|
|
||
| !! "src/test/*/bin/Release/net8.0/**" |> Zip.zip "src/test" testZip | ||
| publish testZip) | ||
|
|
||
| Target.create "DotNetCreateChocolateyPackage" (fun _ -> | ||
|
|
@@ -937,7 +934,7 @@ Target.create "DotNetCreateChocolateyPackage" (fun _ -> | |
|
|
||
| Target.create "DotNetCreateDebianPackage" (fun _ -> | ||
| let runtime = "linux-x64" | ||
| let targetFramework = "net6.0" | ||
| let targetFramework = "net8.0" | ||
|
|
||
| let args = | ||
| [ sprintf "--runtime %s" runtime | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "sdk" : { | ||
| "version": "6.0.301", | ||
| "version": "8.0.401", | ||
| "rollForward": "latestMinor" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "sdk" : { | ||
| "version": "6.0.300" | ||
| "version": "8.0.400" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "sdk" : { | ||
| "version": "6.0.300" | ||
| "version": "8.0.400" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "sdk" : { | ||
| "version": "6.0.301" | ||
| "version": "8.0.401" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
17.11.4 is listed as suffering from GHSA-w3q9-fxm7-j8fq, so I think this should be updated to 17.11.48