Skip to content

Commit 0fe695b

Browse files
Reinstate LTS version (net8.0)
1 parent 1cd11cf commit 0fe695b

File tree

46 files changed

+3134
-31
lines changed

Some content is hidden

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

46 files changed

+3134
-31
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<WarningsNotAsErrors>NU1902;NU1903</WarningsNotAsErrors>
2929

3030
<!-- Centralized TFM versions -->
31+
<CurrentTfms>net8.0;net9.0;net10.0</CurrentTfms>
3132
<LatestTfm>net10.0</LatestTfm>
3233
<PreviousTfm>net9.0</PreviousTfm>
3334
<LatestAndroidTfm>net10.0-android36.0</LatestAndroidTfm>

src/Sentry.AspNetCore.Blazor.WebAssembly/Sentry.AspNetCore.Blazor.WebAssembly.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>$(PreviousTfm);$(LatestTfm)</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms)</TargetFrameworks>
55
<RootNamespace>Sentry.AspNetCore.Blazor.WebAssembly</RootNamespace>
66
</PropertyGroup>
77

@@ -10,6 +10,10 @@
1010
<ProjectReference Include="..\Sentry\Sentry.csproj" />
1111
</ItemGroup>
1212

13+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
14+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.3" />
15+
</ItemGroup>
16+
1317
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
1418
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
1519
</ItemGroup>

src/Sentry.AspNetCore.Grpc/Sentry.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">
22

33
<PropertyGroup>
4-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm)</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms)</TargetFrameworks>
55
<PackageTags>$(PackageTags);AspNetCore;gRPC</PackageTags>
66
<Description>Official ASP.NET Core gRPC integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>

src/Sentry.AspNetCore/Sentry.AspNetCore.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-
<TargetFrameworks>$(PreviousTfm);$(LatestTfm)</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms)</TargetFrameworks>
55
<PackageTags>$(PackageTags);AspNetCore;MVC</PackageTags>
66
<Description>Official ASP.NET Core integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>

src/Sentry.Azure.Functions.Worker/Sentry.Azure.Functions.Worker.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-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm);netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms);netstandard2.0</TargetFrameworks>
55
<PackageTags>$(PackageTags);Azure;Functions;Worker</PackageTags>
66
<Description>Official Azure Functions Worker SDK integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>

src/Sentry.Extensions.Logging/Sentry.Extensions.Logging.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm);netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms);netstandard2.0</TargetFrameworks>
55
<PackageTags>$(PackageTags);Logging;Microsoft.Extensions.Logging</PackageTags>
66
<Description>Official Microsoft.Extensions.Logging integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>
@@ -20,6 +20,12 @@
2020
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />
2121
</ItemGroup>
2222

23+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
24+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
25+
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="8.0.0" />
26+
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
27+
</ItemGroup>
28+
2329
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
2430
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
2531
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="9.0.0" />

src/Sentry.Google.Cloud.Functions/Sentry.Google.Cloud.Functions.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm)</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms)</TargetFrameworks>
55
<PackageTags>$(PackageTags);GCP;Google Cloud Functions</PackageTags>
66
<Description>Official Google Cloud Functions integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>
@@ -16,6 +16,10 @@
1616
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="2.0.0" />
1717
</ItemGroup>
1818

19+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
20+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
21+
</ItemGroup>
22+
1923
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
2024
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
2125
</ItemGroup>

src/Sentry.Hangfire/Sentry.Hangfire.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Official Hangfire integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
55
<PackageTags>$(PackageTags);Hangfire</PackageTags>
6-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm);net462</TargetFrameworks>
6+
<TargetFrameworks>$(CurrentTfms);net462</TargetFrameworks>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<SignAssembly>false</SignAssembly>
99
</PropertyGroup>

src/Sentry.NLog/Sentry.NLog.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-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm);netstandard2.0;net462</TargetFrameworks>
4+
<TargetFrameworks>$(CurrentTfms);netstandard2.0;net462</TargetFrameworks>
55
<PackageTags>$(PackageTags);Logging;NLog</PackageTags>
66
<Description>Official NLog integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
<CLSCompliant>true</CLSCompliant>

src/Sentry.OpenTelemetry/Sentry.OpenTelemetry.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Official OpenTelemetry integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
55
<PackageTags>$(PackageTags);OpenTelemetry</PackageTags>
6-
<TargetFrameworks>$(LatestTfm);$(PreviousTfm);netstandard2.1;netstandard2.0;net462</TargetFrameworks>
6+
<TargetFrameworks>$(CurrentTfms);netstandard2.1;netstandard2.0;net462</TargetFrameworks>
77
<ImplicitUsings>enable</ImplicitUsings>
88
</PropertyGroup>
99

0 commit comments

Comments
 (0)