Skip to content

Commit 79edc69

Browse files
Prepare for net10.0
Initial commit for #4456 - #4456 Currently SentryNoMobile.slnf builds locally... still a bit of work left to get the mobile projects going.
1 parent 087408c commit 79edc69

File tree

81 files changed

+191
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+191
-196
lines changed

Directory.Build.props

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222

2323
<!-- https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-restore-audit#version-introduced -->
2424
<WarningsNotAsErrors>NU1902;NU1903</WarningsNotAsErrors>
25+
26+
<!-- Centralized TFM versions -->
27+
<LatestTfm>net10.0</LatestTfm>
28+
<PreviousTfm>net9.0</PreviousTfm>
29+
<LatestAndroidTfm>net10.0-android36.0</LatestAndroidTfm>
30+
<PreviousAndroidTfm>net9.0-android35.0</PreviousAndroidTfm>
31+
<LatestIosTfm>net10.0-ios18.5</LatestIosTfm>
32+
<PreviousIosTfm>net9.0-ios18.0</PreviousIosTfm>
33+
<LatestMacCatalystTfm>net10.0-maccatalyst18.5</LatestMacCatalystTfm>
34+
<PreviousMacCatalystTfm>net9.0-maccatalyst18.0</PreviousMacCatalystTfm>
35+
<PreviousWindowsTfm>net9.0-windows10.0.19041.0</PreviousWindowsTfm>
2536
</PropertyGroup>
2637

2738
<PropertyGroup Condition="'$(Configuration)' != 'Release'">

SentryNoMobile.slnf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"samples\\Sentry.Samples.GraphQL.Server\\Sentry.Samples.GraphQL.Server.csproj",
2525
"samples\\Sentry.Samples.Hangfire\\Sentry.Samples.Hangfire.csproj",
2626
"samples\\Sentry.Samples.Log4Net\\Sentry.Samples.Log4Net.csproj",
27-
"samples\\Sentry.Samples.MacCatalyst\\Sentry.Samples.MacCatalyst.csproj",
2827
"samples\\Sentry.Samples.MacOS\\Sentry.Samples.MacOS.csproj",
2928
"samples\\Sentry.Samples.ME.Logging\\Sentry.Samples.ME.Logging.csproj",
3029
"samples\\Sentry.Samples.NLog\\Sentry.Samples.NLog.csproj",

benchmarks/Sentry.Benchmarks/Sentry.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>$(PreviousTfm)</TargetFramework>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"sdk": {
3-
"version": "9.0.301",
4-
"workloadVersion": "9.0.301",
3+
"version": "10.0.100-preview.7.25380.108",
4+
"workloadVersion": "10.0.100-preview.7.25411.1",
55
"rollForward": "disable",
66
"allowPrerelease": false
77
}

msbuild.binlog

7.92 MB
Binary file not shown.

samples/Sentry.Samples.Android/Sentry.Samples.Android.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0-android</TargetFramework>
3+
<TargetFramework>net9.0-android</TargetFramework>
44
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
55
<OutputType>Exe</OutputType>
66
<Nullable>enable</Nullable>

samples/Sentry.Samples.AspNetCore.Basic/Sentry.Samples.AspNetCore.Basic.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.Web">
22

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

77
<PropertyGroup Condition="'$(Configuration)' == 'Release'">

samples/Sentry.Samples.AspNetCore.Blazor.Server/Sentry.Samples.AspNetCore.Blazor.Server.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.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<RunAOTCompilation>true</RunAOTCompilation>
66
</PropertyGroup>
77

@@ -15,13 +15,8 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.3"/>
19-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.3" PrivateAssets="all"/>
18+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.8"/>
19+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.8" PrivateAssets="all"/>
2020
<ProjectReference Include="..\..\src\Sentry.AspNetCore.Blazor.WebAssembly\Sentry.AspNetCore.Blazor.WebAssembly.csproj" />
2121
</ItemGroup>
22-
23-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
24-
<!-- https://github.com/advisories/GHSA-8g4q-xg66-9fp4 -->
25-
<PackageReference Include="System.Text.Json" Version="8.0.5" />
26-
</ItemGroup>
2722
</Project>

samples/Sentry.Samples.AspNetCore.Grpc/Sentry.Samples.AspNetCore.Grpc.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.Web">
22

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

77
<ItemGroup>

0 commit comments

Comments
 (0)