Skip to content

Commit ed45c73

Browse files
authored
Merge pull request #4288 from 1eyewonder/dotnet-update
Re-add Changes Lost From #4272
2 parents 975a9d6 + 6dfd384 commit ed45c73

File tree

12 files changed

+21
-39
lines changed

12 files changed

+21
-39
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"isRoot": true,
44
"tools": {
55
"paket": {
6-
"version": "9.0.0",
6+
"version": "9.0.2",
77
"commands": [
88
"paket"
99
],
1010
"rollForward": false
1111
}
1212
}
13-
}
13+
}

build.fsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ let mutable dotnetExePath = "dotnet"
6767

6868
let buildDir = "bin"
6969
let buildDirNet461 = buildDir @@ "net461"
70-
let buildDirNetCore = buildDir @@ "netcoreapp3.1"
70+
let buildDirNetCore = buildDir @@ "net8"
7171
let buildDirBootstrapper = "bin_bootstrapper"
7272
let buildDirBootstrapperNet461 = buildDirBootstrapper @@ "net461"
73-
let buildDirBootstrapperNetCore = buildDirBootstrapper @@ "netcoreapp2.1"
73+
let buildDirBootstrapperNetCore = buildDirBootstrapper @@ "net8"
7474
let tempDir = "temp"
7575
let buildMergedDir = buildDir @@ "merged"
7676
let paketFile = buildMergedDir @@ "paket.exe"
@@ -199,7 +199,7 @@ Target "Publish" (fun _ ->
199199
DotNetCli.Publish (fun c ->
200200
{ c with
201201
Project = "src/Paket"
202-
Framework = "netcoreapp3.1"
202+
Framework = "net8"
203203
Output = FullName (currentDirectory </> buildDirNetCore)
204204
ToolPath = dotnetExePath
205205
AdditionalArgs = publishArgs
@@ -217,7 +217,7 @@ Target "Publish" (fun _ ->
217217
DotNetCli.Publish (fun c ->
218218
{ c with
219219
Project = "src/Paket.Bootstrapper"
220-
Framework = "netcoreapp2.1"
220+
Framework = "net8"
221221
Output = FullName (currentDirectory </> buildDirBootstrapperNetCore)
222222
ToolPath = dotnetExePath
223223
AdditionalArgs = publishArgs
@@ -355,7 +355,7 @@ Target "RunIntegrationTestsNetCore" (fun _ ->
355355
DotNetCli.Test (fun c ->
356356
{ c with
357357
Project = "integrationtests/Paket.IntegrationTests/Paket.IntegrationTests.fsproj"
358-
Framework = "netcoreapp3.1"
358+
Framework = "net8"
359359
AdditionalArgs =
360360
[ "--filter"; (if testSuiteFilterFlakyTests then "TestCategory=Flaky" else "TestCategory!=Flaky")
361361
sprintf "--logger:trx;LogFileName=%s" ("tests_result/netcore/Paket.IntegrationTests/TestResult.trx" |> Path.GetFullPath) ]
@@ -728,4 +728,4 @@ Target "All" DoNothing
728728
"EnsurePackageSigned"
729729
==> "Release"
730730

731-
RunTargetOrDefault "All"
731+
RunTargetOrDefault "All"

integrationtests/Paket.IntegrationTests/TestHelper.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ let dotnetToolPath =
2121

2222
let paketToolPath =
2323
#if PAKET_NETCORE
24-
dotnetToolPath, FullName(__SOURCE_DIRECTORY__ + "../../../bin/netcoreapp2.1/paket.dll")
24+
dotnetToolPath, FullName(__SOURCE_DIRECTORY__ + "../../../bin/net8/paket.dll")
2525
#else
2626
"", FullName(__SOURCE_DIRECTORY__ + "../../../bin/net461/paket.exe")
2727
#endif
2828

2929
let paketBootstrapperToolPath =
3030
#if PAKET_NETCORE
31-
dotnetToolPath, FullName(__SOURCE_DIRECTORY__ + "../../../bin_bootstrapper/netcoreapp2.1/paket.bootstrapper.dll")
31+
dotnetToolPath, FullName(__SOURCE_DIRECTORY__ + "../../../bin_bootstrapper/net8/paket.bootstrapper.dll")
3232
#else
3333
"", FullName(__SOURCE_DIRECTORY__ + "../../../bin_bootstrapper/net461/paket.bootstrapper.exe")
3434
#endif

paket.dependencies

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ content: none
55

66
nuget Newtonsoft.Json >= 10.0.3 redirects: force
77
nuget Argu >= 5.1.0
8-
nuget FSharp.Core >= 6.0.3 redirects: force
8+
nuget FSharp.Core >= 6.0.3
99
nuget Chessie >= 0.6
1010
nuget Mono.Cecil ~> 0.11.1
1111

1212
nuget System.Security.Cryptography.ProtectedData >= 4.4
1313

1414
nuget NETStandard.Library ~> 2.0
15-
nuget Microsoft.NETCore.App ~> 2.1
1615
nuget System.Net.Http.WinHttpHandler >= 4.5
1716
nuget Nuget.Packaging
1817
nuget Microsoft.Win32.Registry
@@ -56,8 +55,4 @@ group Build
5655
nuget 0x53A.ReferenceAssemblies.Paket 0.2.0
5756

5857
# add icon to exe
59-
github enricosada/add_icon_to_exe:e11eda501acea369ac2950beb34b8888495bf21f rh/ResourceHacker.exe
60-
61-
group FSharpDepManagerExtension
62-
source https://api.nuget.org/v3/index.json
63-
nuget FSharp.Core = 5.0.0 redirects: force
58+
github enricosada/add_icon_to_exe:e11eda501acea369ac2950beb34b8888495bf21f rh/ResourceHacker.exe

paket.lock

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ NUGET
3636
FsCheck (2.15.3)
3737
FSharp.Core (>= 4.0.0.1) - restriction: && (< net452) (>= netstandard1.0) (< netstandard1.6)
3838
FSharp.Core (>= 4.2.3) - restriction: || (>= net452) (>= netstandard1.6)
39-
FSharp.Compiler.Service (43.8.400)
40-
FSharp.Core (8.0.400) - restriction: >= netstandard2.0
39+
FSharp.Compiler.Service (43.9.101)
40+
FSharp.Core (9.0.101) - restriction: >= netstandard2.0
4141
System.Buffers (>= 4.5.1) - restriction: >= netstandard2.0
4242
System.Collections.Immutable (>= 8.0) - restriction: >= netstandard2.0
4343
System.Diagnostics.DiagnosticSource (>= 8.0) - restriction: >= netstandard2.0
4444
System.Memory (>= 4.5.5) - restriction: >= netstandard2.0
4545
System.Reflection.Emit (>= 4.7) - restriction: >= netstandard2.0
4646
System.Reflection.Metadata (>= 8.0) - restriction: >= netstandard2.0
4747
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: >= netstandard2.0
48-
FSharp.Core (8.0.400)
48+
FSharp.Core (9.0.101)
4949
Microsoft.Build.Tasks.Git (1.0) - copy_local: true
5050
Microsoft.CodeCoverage (16.7.1) - restriction: || (>= net45) (>= netcoreapp1.0)
5151
Microsoft.CSharp (4.7) - redirects: force, restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
@@ -844,8 +844,4 @@ GITHUB
844844
modules/Octokit/Octokit.fsx (13eee5a7b990fa310813f9760094aa3cfebeb33f)
845845
Octokit (>= 0.20)
846846
remote: enricosada/add_icon_to_exe
847-
rh/ResourceHacker.exe (e11eda501acea369ac2950beb34b8888495bf21f)
848-
GROUP FSharpDepManagerExtension
849-
NUGET
850-
remote: https://api.nuget.org/v3/index.json
851-
FSharp.Core (5.0) - redirects: force
847+
rh/ResourceHacker.exe (e11eda501acea369ac2950beb34b8888495bf21f)
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
DotNet.ReproducibleBuilds
2-
3-
group FSharpDepManagerExtension
4-
52
FSharp.Core

src/LockFileComparer/LockFileComparer.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
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>net8</TargetFramework>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88
<ItemGroup>

src/Paket.Bootstrapper/Paket.Bootstrapper.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
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net461;netcoreapp2.1</TargetFrameworks>
5+
<TargetFrameworks>net461;net8</TargetFrameworks>
66
<StartupObject>Paket.Bootstrapper.Program</StartupObject>
77
<AssemblyName>paket.bootstrapper</AssemblyName>
88
<ToolCommandName>paketbootstrapper</ToolCommandName>

src/Paket/Paket.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
5+
<TargetFrameworks>net461;net8</TargetFrameworks>
66
<PackageId>Paket</PackageId>
77
<AssemblyName>paket</AssemblyName>
88
<IsPackable>true</IsPackable>
@@ -12,7 +12,7 @@
1212
<!-- .net tools support netcoreapp only -->
1313
<TargetFrameworks>
1414
</TargetFrameworks>
15-
<TargetFramework>netcoreapp3.1</TargetFramework>
15+
<TargetFramework>net8</TargetFramework>
1616
</PropertyGroup>
1717
<ItemGroup>
1818
<None Include="../../README.md" Pack="true" PackagePath="\" />

tests/Paket.Bootstrapper.Tests/Paket.Bootstrapper.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFrameworks>net8</TargetFrameworks>
65
<TargetFrameworks>net461;net8</TargetFrameworks>
76
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
87
</PropertyGroup>

0 commit comments

Comments
 (0)