Skip to content

Commit 9079d8a

Browse files
authored
Updates to F# 8 and .NET 8.0 (#180)
* Updates to F# 8 and .NET 8.0 * Let's drop System.Configuration.ConfigurationManager to v8 if that would be more suitable for CI builds
1 parent 084f63d commit 9079d8a

File tree

13 files changed

+183
-136
lines changed

13 files changed

+183
-136
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest, windows-latest, macOS-latest]
18-
dotnet: [6.0.400]
18+
dotnet6: [6.0.400]
19+
dotnet8: [8.0.400]
1920
runs-on: ${{ matrix.os }}
2021

2122
steps:
2223
- uses: actions/checkout@v1
23-
- name: Setup .NET Core
24+
- name: Setup .NET Core 6 (for build)
2425
uses: actions/setup-dotnet@v1
2526
with:
26-
dotnet-version: ${{ matrix.dotnet }}
27+
dotnet-version: ${{ matrix.dotnet6 }}
28+
- name: Setup .NET Core 8
29+
uses: actions/setup-dotnet@v1
30+
with:
31+
dotnet-version: ${{ matrix.dotnet8 }}
2732
- name: Install local tools
2833
run: dotnet tool restore
2934
- name: Paket Restore

build.fsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ Target.create "RunTests" (fun _ ->
108108
{ r with
109109
WorkingDirectory = "tests/FSharp.Configuration.Tests/"
110110
})
111-
"run"
111+
//"run --framework net48"
112+
"run --framework net8.0"
112113
"")
113114

114115
Target.create "NuGet" (fun _ ->

global.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

paket.dependencies

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
version 8.1.0
12
source https://api.nuget.org/v3/index.json
2-
framework: net6.0, netstandard2.0
3+
storage: none
34

45
nuget YamlDotNet
5-
nuget FSharp.Core 4.7.2
6+
nuget FSharp.Core 8.0.301
67

7-
nuget System.Configuration.ConfigurationManager
8+
nuget System.Configuration.ConfigurationManager 8.0.1
89
nuget NETStandard.Library.NETFramework
910

1011
github fsprojects/FSharp.TypeProviders.SDK src/ProvidedTypes.fs
@@ -13,9 +14,8 @@ github fsprojects/FSharp.TypeProviders.SDK tests/ProvidedTypesTesting.fs
1314

1415
group Test
1516
source https://api.nuget.org/v3/index.json
16-
framework: net6.0
1717

1818
nuget FSharp.Core redirects: force
19-
nuget Expecto
20-
nuget System.Configuration.ConfigurationManager redirects: force
19+
nuget Expecto 9.0.4
20+
nuget System.Configuration.ConfigurationManager 8.0.1 redirects: force
2121
nuget System.Resources.Extensions

paket.lock

Lines changed: 59 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,69 @@
1-
RESTRICTION: || (== net6.0) (== netstandard2.0)
1+
STORAGE: NONE
22
NUGET
33
remote: https://api.nuget.org/v3/index.json
4-
FSharp.Core (4.7.2)
5-
Microsoft.Win32.SystemEvents (6.0.1) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1))
4+
FSharp.Core (8.0.301)
5+
Microsoft.NETCore.Platforms (7.0.4) - restriction: >= net461
6+
NETStandard.Library (2.0.3) - restriction: >= net461
7+
Microsoft.NETCore.Platforms (>= 1.1) - restriction: || (&& (>= net45) (< netstandard1.3)) (&& (< net45) (>= netstandard1.1) (< netstandard1.2) (< win8)) (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (< net45) (>= netstandard2.0)) (&& (>= net46) (< netstandard1.4)) (>= net461) (>= netcoreapp2.0) (&& (>= netstandard1.0) (< portable-net45+win8+wpa81)) (&& (< netstandard1.0) (>= portable-net45+win8) (< win8)) (&& (< netstandard1.0) (< portable-net45+win8) (>= portable-net45+win8+wpa81)) (&& (< netstandard1.0) (>= portable-net45+win8+wp8+wpa81) (< portable-net45+win8+wpa81)) (&& (< netstandard1.0) (>= win8)) (&& (< netstandard1.3) (< win8) (>= wpa81)) (&& (< netstandard1.5) (>= uap10.0)) (>= uap10.1) (>= wp8)
68
NETStandard.Library.NETFramework (2.0.0-preview2-25405-01)
7-
System.Buffers (4.5.1) - restriction: == netstandard2.0
8-
System.Configuration.ConfigurationManager (6.0.1)
9-
System.Security.Cryptography.ProtectedData (>= 6.0)
10-
System.Security.Permissions (>= 6.0)
11-
System.Drawing.Common (6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1))
12-
Microsoft.Win32.SystemEvents (>= 6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1))
13-
System.Memory (4.5.5) - restriction: == netstandard2.0
14-
System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.0)
15-
System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net6.0) (< netcoreapp2.0)) (== netstandard2.0)
16-
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= uap10.1)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.0)
17-
System.Numerics.Vectors (4.5) - restriction: == netstandard2.0
18-
System.Runtime.CompilerServices.Unsafe (6.0) - restriction: == netstandard2.0
19-
System.Security.AccessControl (6.0)
20-
System.Security.Principal.Windows (>= 5.0) - restriction: || (&& (== net6.0) (>= net461)) (== netstandard2.0)
21-
System.Security.Cryptography.ProtectedData (6.0)
22-
System.Memory (>= 4.5.4) - restriction: == netstandard2.0
23-
System.Security.Permissions (6.0)
24-
System.Security.AccessControl (>= 6.0)
25-
System.Windows.Extensions (>= 6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1))
26-
System.Security.Principal.Windows (5.0) - restriction: || (&& (== net6.0) (>= net461)) (== netstandard2.0)
27-
System.Windows.Extensions (6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1))
28-
System.Drawing.Common (>= 6.0) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1))
9+
Microsoft.NETCore.Platforms (>= 2.0.0-preview2-25405-01) - restriction: >= net461
10+
NETStandard.Library (>= 2.0.0-preview2-25401-01) - restriction: >= net461
11+
System.Buffers (4.5.1) - restriction: || (&& (>= monoandroid) (>= net6.0) (< netstandard1.1)) (&& (>= monoandroid) (< netstandard1.1) (>= netstandard2.0)) (&& (< monoandroid) (>= net6.0) (< netstandard1.1)) (&& (< monoandroid) (>= net6.0) (< netstandard2.0)) (&& (< monoandroid) (< netstandard1.1) (>= netstandard2.0) (< win8)) (&& (>= monotouch) (>= net6.0)) (&& (>= monotouch) (>= netstandard2.0)) (&& (>= net45) (>= net6.0) (< netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (&& (>= net461) (< net462) (>= netstandard2.0)) (&& (>= net461) (>= net6.0)) (&& (>= net6.0) (< net8.0) (>= xamarintvos)) (&& (>= net6.0) (< net8.0) (>= xamarinwatchos)) (&& (>= net6.0) (< netcoreapp2.0)) (&& (>= net6.0) (< netstandard1.1) (>= win8)) (&& (>= net6.0) (< netstandard2.0) (>= wpa81)) (&& (< net8.0) (>= netstandard2.0) (>= xamarintvos)) (&& (< net8.0) (>= netstandard2.0) (>= xamarinwatchos)) (&& (< net8.0) (>= xamarinios)) (&& (< net8.0) (>= xamarinmac)) (&& (< netstandard1.1) (>= netstandard2.0) (>= win8))
12+
System.Configuration.ConfigurationManager (8.0.1)
13+
System.Diagnostics.EventLog (>= 8.0.1) - restriction: >= net7.0
14+
System.Security.Cryptography.ProtectedData (>= 8.0) - restriction: || (&& (< net462) (>= netstandard2.0)) (>= net6.0)
15+
System.Diagnostics.EventLog (9.0.4) - restriction: >= net7.0
16+
System.Security.Principal.Windows (>= 5.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
17+
System.Memory (4.5.5) - restriction: || (&& (< net462) (< net8.0) (>= netstandard2.0)) (&& (>= net6.0) (< net8.0))
18+
System.Buffers (>= 4.5.1) - restriction: || (&& (>= monoandroid) (< netstandard1.1)) (&& (< monoandroid) (< net45) (>= netstandard1.1) (< netstandard2.0) (< win8) (< wpa81)) (&& (< monoandroid) (< netstandard1.1) (>= portable-net45+win8+wpa81) (< win8)) (>= monotouch) (&& (>= net45) (< netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (>= net461) (&& (< netstandard1.1) (>= win8)) (&& (< netstandard2.0) (< uap10.1) (>= wpa81)) (>= xamarinios) (>= xamarinmac) (>= xamarintvos) (>= xamarinwatchos)
19+
System.Numerics.Vectors (>= 4.4) - restriction: && (< net45) (< netcoreapp2.0) (>= netstandard2.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
20+
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (>= monoandroid) (< netstandard1.1)) (&& (< monoandroid) (< net45) (>= netstandard1.1) (< netstandard2.0) (< win8) (< wpa81)) (&& (< monoandroid) (>= netcoreapp2.0) (< netcoreapp2.1)) (&& (< monoandroid) (< netstandard1.1) (>= portable-net45+win8+wpa81) (< win8)) (>= monotouch) (&& (>= net45) (< netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (>= net461) (&& (< netstandard1.1) (>= win8)) (&& (< netstandard2.0) (>= wpa81)) (>= uap10.1) (>= xamarinios) (>= xamarinmac) (>= xamarintvos) (>= xamarinwatchos)
21+
System.Numerics.Vectors (4.5) - restriction: || (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (&& (>= net6.0) (< netcoreapp2.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos))
22+
System.Runtime.CompilerServices.Unsafe (6.0) - restriction: || (&& (>= monoandroid) (>= net6.0) (< netstandard1.1)) (&& (>= monoandroid) (< netstandard1.1) (>= netstandard2.0)) (&& (< monoandroid) (>= net6.0) (< netcoreapp2.1)) (&& (< monoandroid) (>= net6.0) (< netstandard1.1)) (&& (< monoandroid) (>= net6.0) (< netstandard2.0)) (&& (< monoandroid) (>= netcoreapp2.0) (< netcoreapp2.1)) (&& (< monoandroid) (< netstandard1.1) (>= netstandard2.0) (< win8)) (&& (>= monotouch) (>= net6.0)) (&& (>= monotouch) (>= netstandard2.0)) (&& (>= net45) (>= net6.0) (< netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (&& (>= net461) (< net462) (>= netstandard2.0)) (&& (>= net461) (>= net6.0)) (&& (>= net6.0) (< net8.0) (>= xamarintvos)) (&& (>= net6.0) (< net8.0) (>= xamarinwatchos)) (&& (>= net6.0) (< netcoreapp2.0)) (&& (>= net6.0) (< netstandard1.1) (>= win8)) (&& (>= net6.0) (< netstandard2.0) (>= wpa81)) (&& (>= net6.0) (>= uap10.1)) (&& (< net8.0) (>= netstandard2.0) (>= xamarintvos)) (&& (< net8.0) (>= netstandard2.0) (>= xamarinwatchos)) (&& (< net8.0) (>= xamarinios)) (&& (< net8.0) (>= xamarinmac)) (&& (< netstandard1.1) (>= netstandard2.0) (>= win8)) (&& (>= netstandard2.0) (>= uap10.1))
23+
System.Security.Cryptography.ProtectedData (9.0.4) - restriction: || (&& (< net462) (>= netstandard2.0)) (>= net6.0)
24+
System.Memory (>= 4.5.5) - restriction: && (< net462) (< net8.0) (>= netstandard2.0)
25+
System.Security.Principal.Windows (5.0) - restriction: || (&& (>= net462) (>= net7.0)) (&& (>= net7.0) (< net8.0))
2926
YamlDotNet (12.0.1)
3027
GITHUB
3128
remote: fsprojects/FSharp.TypeProviders.SDK
32-
src/ProvidedTypes.fs (6ad1174db0794a348f4a1c0aa5a60ae3f1803810)
33-
src/ProvidedTypes.fsi (6ad1174db0794a348f4a1c0aa5a60ae3f1803810)
34-
tests/ProvidedTypesTesting.fs (6ad1174db0794a348f4a1c0aa5a60ae3f1803810)
29+
src/ProvidedTypes.fs (23b588d06acb8e100402523abc1d4f3f06325b8a)
30+
src/ProvidedTypes.fsi (23b588d06acb8e100402523abc1d4f3f06325b8a)
31+
tests/ProvidedTypesTesting.fs (23b588d06acb8e100402523abc1d4f3f06325b8a)
3532
GROUP Test
36-
RESTRICTION: == net6.0
3733
NUGET
3834
remote: https://api.nuget.org/v3/index.json
3935
Expecto (9.0.4)
40-
FSharp.Core (>= 4.6)
41-
Mono.Cecil (>= 0.11.3)
42-
FSharp.Core (6.0.6) - redirects: force
43-
Microsoft.Win32.SystemEvents (6.0.1) - redirects: force
44-
Mono.Cecil (0.11.4)
45-
System.Configuration.ConfigurationManager (6.0.1) - redirects: force
46-
System.Security.Cryptography.ProtectedData (>= 6.0)
47-
System.Security.Permissions (>= 6.0)
48-
System.Drawing.Common (6.0) - redirects: force
49-
Microsoft.Win32.SystemEvents (>= 6.0)
50-
System.Resources.Extensions (6.0)
51-
System.Security.AccessControl (6.0) - redirects: force
52-
System.Security.Cryptography.ProtectedData (6.0) - redirects: force
53-
System.Security.Permissions (6.0) - redirects: force
54-
System.Security.AccessControl (>= 6.0)
55-
System.Windows.Extensions (>= 6.0)
56-
System.Windows.Extensions (6.0) - redirects: force
57-
System.Drawing.Common (>= 6.0)
36+
FSharp.Core (>= 4.6) - restriction: || (>= net461) (>= netstandard2.0)
37+
Mono.Cecil (>= 0.11.3) - restriction: || (>= net461) (>= netstandard2.0)
38+
FSharp.Core (9.0.202) - redirects: force
39+
Microsoft.Bcl.HashCode (6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
40+
Mono.Cecil (0.11.4) - restriction: || (>= net461) (>= netstandard2.0)
41+
System.Buffers (4.6.1) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
42+
System.Collections.Immutable (9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
43+
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
44+
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
45+
System.Configuration.ConfigurationManager (8.0.1) - redirects: force
46+
System.Diagnostics.EventLog (>= 8.0.1) - restriction: >= net7.0
47+
System.Security.Cryptography.ProtectedData (>= 8.0) - restriction: || (&& (< net462) (>= netstandard2.0)) (>= net6.0)
48+
System.Diagnostics.EventLog (9.0.4) - redirects: force, restriction: >= net7.0
49+
System.Security.Principal.Windows (>= 5.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
50+
System.Formats.Nrbf (9.0.4) - restriction: || (>= net462) (>= netstandard2.0)
51+
Microsoft.Bcl.HashCode (>= 1.1.1) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
52+
System.Reflection.Metadata (>= 9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
53+
System.ValueTuple (>= 4.5) - restriction: >= net462
54+
System.Memory (4.6.3) - restriction: || (>= net462) (&& (>= net6.0) (< net8.0)) (&& (< net8.0) (>= netstandard2.0))
55+
System.Buffers (>= 4.6.1) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
56+
System.Numerics.Vectors (>= 4.6.1) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
57+
System.Runtime.CompilerServices.Unsafe (>= 6.1.2) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
58+
System.Numerics.Vectors (4.6.1) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
59+
System.Reflection.Metadata (9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
60+
System.Collections.Immutable (>= 9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
61+
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
62+
System.Resources.Extensions (9.0.4)
63+
System.Formats.Nrbf (>= 9.0.4) - restriction: || (>= net462) (>= netstandard2.0)
64+
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
65+
System.Runtime.CompilerServices.Unsafe (6.1.2) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0)) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
66+
System.Security.Cryptography.ProtectedData (9.0.4) - redirects: force, restriction: || (&& (< net462) (>= netstandard2.0)) (>= net6.0)
67+
System.Memory (>= 4.5.5) - restriction: && (< net462) (< net8.0) (>= netstandard2.0)
68+
System.Security.Principal.Windows (5.0) - redirects: force, restriction: || (&& (>= net462) (>= net7.0)) (&& (>= net7.0) (< net8.0))
69+
System.ValueTuple (4.6.1) - restriction: >= net462

src/FSharp.Configuration.DesignTime/FSharp.Configuration.DesignTime.fsproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
5+
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
66
<Optimize>true</Optimize>
77
<Tailcalls>true</Tailcalls>
88
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
99
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
1010
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
11+
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
12+
<DefineConstants>DESIGNTIME</DefineConstants>
1113
<OutputPath>..\FSharp.Configuration.Runtime\bin\$(Configuration)\typeproviders\fsharp41\</OutputPath>
1214
</PropertyGroup>
1315
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
namespace FSharp.Configuration.Yaml
22

33
// Put the TypeProviderAssemblyAttribute in the runtime DLL, pointing to the design-time DLL
4+
#if TP_RUNTIME
45
[<assembly: CompilerServices.TypeProviderAssembly("FSharp.Configuration.DesignTime.dll")>]
56
do ()
7+
#endif

src/FSharp.Configuration.Runtime/FSharp.Configuration.Runtime.fsproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
55
<PropertyGroup>
66
<OutputType>Library</OutputType>
7-
<TargetFramework>netstandard2.0</TargetFramework>
7+
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
88
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
9+
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
910
<DefineConstants>TP_RUNTIME</DefineConstants>
1011
</PropertyGroup>
1112
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
@@ -32,12 +33,11 @@
3233
</ItemGroup>
3334
<ItemGroup>
3435
<!-- Be explicit about the version of FSharp.Core since we mention it in the manual nuget package spec -->
35-
<PackageReference Include="FSharp.Core" Version="4.7.2" />
36+
<PackageReference Include="FSharp.Core" Version="8.0.301" />
3637
</ItemGroup>
3738
<Target Name="BeforeBuild">
3839
<MSBuild Projects="..\FSharp.Configuration.DesignTime\FSharp.Configuration.DesignTime.fsproj" Targets="Restore" />
39-
<MSBuild Projects="..\FSharp.Configuration.DesignTime\FSharp.Configuration.DesignTime.fsproj" Targets="Build" Properties="Configuration=$(Configuration);TargetFramework=net6.0" />
40-
<MSBuild Projects="..\FSharp.Configuration.DesignTime\FSharp.Configuration.DesignTime.fsproj" Targets="Build" Properties="Configuration=$(Configuration);TargetFramework=netstandard2.0" />
40+
<MSBuild Projects="..\FSharp.Configuration.DesignTime\FSharp.Configuration.DesignTime.fsproj" Targets="Build" Properties="Configuration=$(Configuration);TargetFramework=$(TargetFramework)" />
4141
</Target>
4242
<Import Project="..\..\.paket\Paket.Restore.targets" />
4343
</Project>

0 commit comments

Comments
 (0)