Skip to content

Commit bc40f6a

Browse files
authored
Update to .NET9p7 SDK (dotnet#17537)
* Update to .NET9p7 SDK * Add dotnet9 feed * Update trimming * update trimming #2
1 parent 6cd4d59 commit bc40f6a

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
22
{
33
"name": "F#",
4-
"image": "mcr.microsoft.com/dotnet/sdk:9.0.100-preview.6",
4+
"image": "mcr.microsoft.com/dotnet/sdk:9.0.100-preview.7",
55
"features": {
6-
"ghcr.io/devcontainers/features/common-utils:2.4.3": {},
7-
"ghcr.io/devcontainers/features/git:1.2.0": {},
8-
"ghcr.io/devcontainers/features/github-cli:1.0.11": {},
9-
"ghcr.io/devcontainers/features/dotnet:2.1.0": {}
6+
"ghcr.io/devcontainers/features/common-utils:2.4.6": {},
7+
"ghcr.io/devcontainers/features/git:1.3.2": {},
8+
"ghcr.io/devcontainers/features/github-cli:1.0.13": {},
9+
"ghcr.io/devcontainers/features/dotnet:2.1.2": {}
1010
},
1111
"hostRequirements": {
1212
"cpus": 2,

NuGet.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
1414
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
1515
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
16+
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
17+
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
1618
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
1719
<add key="vssdk" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" />
1820
<add key="vssdk-archived" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk-archived/nuget/v3/index.json" />

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-preview.6.24328.19",
3+
"version": "9.0.100-preview.7.24407.12",
44
"allowPrerelease": true
55
},
66
"tools": {
7-
"dotnet": "9.0.100-preview.6.24328.19",
7+
"dotnet": "9.0.100-preview.7.24407.12",
88
"vs": {
99
"version": "17.8",
1010
"components": [

tests/AheadOfTime/Trimming/check.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function CheckTrim($root, $tfm, $outputfile, $expected_len) {
4343
# error NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher.
4444

4545
# Check net7.0 trimmed assemblies
46-
CheckTrim -root "SelfContained_Trimming_Test" -tfm "net9.0" -outputfile "FSharp.Core.dll" -expected_len 286208
46+
CheckTrim -root "SelfContained_Trimming_Test" -tfm "net9.0" -outputfile "FSharp.Core.dll" -expected_len 287232
4747

4848
# Check net8.0 trimmed assemblies
49-
CheckTrim -root "StaticLinkedFSharpCore_Trimming_Test" -tfm "net9.0" -outputfile "StaticLinkedFSharpCore_Trimming_Test.dll" -expected_len 8819712
49+
CheckTrim -root "StaticLinkedFSharpCore_Trimming_Test" -tfm "net9.0" -outputfile "StaticLinkedFSharpCore_Trimming_Test.dll" -expected_len 8821248

0 commit comments

Comments
 (0)