Skip to content

Commit 2d07296

Browse files
Added net48 target to Sentry.Extension.Logging
1 parent 613ebf2 commit 2d07296

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

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>net9.0;net8.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net8.0;netstandard2.0;net48</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>
@@ -15,6 +15,12 @@
1515
<ProjectReference Include="..\..\src\Sentry\Sentry.csproj" />
1616
</ItemGroup>
1717

18+
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
19+
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="2.1.0" />
20+
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />
21+
<PackageReference Include="System.Net.Http" Version="4.3.4" />
22+
</ItemGroup>
23+
1824
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1925
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="2.1.0" />
2026
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />

0 commit comments

Comments
 (0)