Skip to content

Commit 84e694f

Browse files
More projects to net8.0.
1 parent 5008522 commit 84e694f

File tree

7 files changed

+9
-12
lines changed

7 files changed

+9
-12
lines changed

build.fsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ let releaseNotesFile = "FsCheck Release Notes.md"
149149
/// Solution or project files to be built during the building process
150150
let solution = "FsCheck.sln"
151151

152-
/// Pattern specifying assemblies to be tested
153-
let testAssemblies = "tests/**/bin/Release/net6.0/*.Test.dll"
154-
155152
// Git configuration (used for publishing documentation in gh-pages branch)
156153
// The profile where the project is posted
157154
let gitOwner = "fscheck"

examples/FsCheck.MsTest.Examples/FsCheck.MsTest.Examples.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<AssemblyName>FsCheck.MsTest.Examples</AssemblyName>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<PlatformTarget>AnyCPU</PlatformTarget>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
88
<WarningLevel>3</WarningLevel>

examples/FsCheck.NUnit.CSharpExamples/FsCheck.NUnit.CSharpExamples.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<AssemblyName>FsCheck.NUnit.CSharpExamples</AssemblyName>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<PlatformTarget>AnyCPU</PlatformTarget>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
88
<WarningLevel>3</WarningLevel>

examples/FsCheck.NUnit.Examples/FsCheck.NUnit.Examples.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<AssemblyName>FsCheck.NUnit.Examples</AssemblyName>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>

examples/FsCheck.NUnit.Examples/SyncVersusAsyncExamples.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ module SyncVersusAsyncExamples =
77
let private doSomethingAsync () = async { return () }
88

99
[<Property>]
10-
let ``Sync - should pass`` b =
10+
let ``Sync - should pass`` (b: bool) =
1111
b = b |> Prop.label "b = b"
1212

1313
[<Property>]
14-
let ``Sync - should fail`` b =
14+
let ``Sync - should fail`` (b: bool) =
1515
b = not b |> Prop.label "b = not b"
1616

1717
[<Property>]
18-
let ``Async - should pass`` b =
18+
let ``Async - should pass`` (b: bool) =
1919
async {
2020
do! doSomethingAsync ()
2121
return b = b |> Prop.label "b = b"
2222
}
2323

2424
[<Property>]
25-
let ``Async - should fail`` b =
25+
let ``Async - should fail`` (b : bool) =
2626
async {
2727
do! doSomethingAsync ()
2828
return b = not b |> Prop.label "b = not b"

examples/FsCheck.XUnit.CSharpExamples/FsCheck.XUnit.CSharpExamples.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<AssemblyName>FsCheck.Xunit.CSharpExamples</AssemblyName>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<PlatformTarget>AnyCPU</PlatformTarget>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
88
<WarningLevel>3</WarningLevel>

tests/FsCheck.Test.CSharp/FsCheck.Test.CSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>10</LangVersion>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)