Skip to content

Commit 3b9276a

Browse files
committed
use net6.0 everywhere
1 parent 7570a5d commit 3b9276a

21 files changed

+22
-22
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/src/Test.CSharp/bin/Debug/net8.0/Test.CSharp.dll",
13+
"program": "${workspaceFolder}/src/Test.CSharp/bin/Debug/net6.0/Test.CSharp.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}/src/Test.CSharp",
1616
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console

docs/Composability.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 15
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Configuration.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 12
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/FSI.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 9
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/HttpClient_Http_Message.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 11
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Overview.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 2
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Request_Headers.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 4
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Requesting_FormData.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 6
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Requesting_Multipart_Files.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 5
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Response_Handling.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 8
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docs/Sending_Requests.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 7
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414
open System.Threading
1515

docs/URLs_and_Query_Params.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ index: 3
99

1010
(*** condition: prepare ***)
1111
#nowarn "211"
12-
#r "../src/FsHttp/bin/Release/net8.0/FsHttp.dll"
12+
#r "../src/FsHttp/bin/Release/net6.0/FsHttp.dll"
1313
open FsHttp
1414

1515

docu.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if ((Test-Path .\.fsdocs) -eq $true) {
1919
}
2020

2121
dotnet tool restore
22-
dotnet build ./src/FsHttp/FsHttp.fsproj -c Release -f net8.0
22+
dotnet build ./src/FsHttp/FsHttp.fsproj -c Release -f net6.0
2323

2424
# what a hack...
2525
if ($null -eq $args[0]) {
@@ -32,7 +32,7 @@ dotnet fsdocs `
3232
$mode `
3333
--clean `
3434
--sourcefolder ./src `
35-
--properties Configuration=Release TargetFramework=net8.0 `
35+
--properties Configuration=Release TargetFramework=net6.0 `
3636
--sourcerepo https://github.com/fsprojects/FsHttp/blob/master/src `
3737
--parameters root /FsHttp/ `
3838
--strict `

fiddle/assertDslCeMethods.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ open System.IO
33
open System.Reflection
44
open FSharp.Reflection
55

6-
let path = Path.Combine(__SOURCE_DIRECTORY__, "../FsHttp/bin/Debug/net8.0/FsHttp.dll")
6+
let path = Path.Combine(__SOURCE_DIRECTORY__, "../FsHttp/bin/Debug/net6.0/FsHttp.dll")
77
let asm = Assembly.LoadFile(path)
88

99
//let dslHeaderType = asm.GetExportedTypes() |> Array.map (fun t -> t.FullName)

fiddle/debugBuildFiddle.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
#r "../src/FsHttp/bin/Debug/net8.0/FsHttp.dll"
2+
#r "../src/FsHttp/bin/Debug/net6.0/FsHttp.dll"
33

44
open FsHttp
55

fiddle/issue-103.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
#r "../FsHttp/bin/debug/net8.0/FsHttp.dll"
2+
#r "../FsHttp/bin/debug/net6.0/FsHttp.dll"
33

44
FsHttp.FsiInit.doInit()
55

fiddle/issue-106-AllowFileNameMetadata.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#r "../FsHttp/bin/Debug/net8.0/FsHttp.dll"
1+
#r "../FsHttp/bin/Debug/net6.0/FsHttp.dll"
22

33
open FsHttp
44

fiddle/scratch.fsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ bstream.Read(buffer, 0, 2000)
4343
bstream.Position <- 0
4444

4545

46-
#r "../FsHttp/bin/Debug/net8.0/FsHttp.dll"
46+
#r "../FsHttp/bin/Debug/net6.0/FsHttp.dll"
4747

4848
open FsHttp
4949

src/Test.CSharp/Test.CSharp.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
</PropertyGroup>
77

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
</Project>

src/Tests/Tests.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0</TargetFrameworks>
55
<Configurations>Debug;Release</Configurations>
66
</PropertyGroup>
77
<ItemGroup>

0 commit comments

Comments
 (0)