Skip to content

Commit

Permalink
fix: Remove .NET Standard libraries from .NET Framework target
Browse files Browse the repository at this point in the history
  • Loading branch information
chynesNR committed Nov 20, 2024
1 parent 3b1d385 commit 9e90246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/Agent/NewRelic/Agent/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SharpZipLib" Version="1.4.2" />
<!-- 1.3.3 is the latest package of SharpZipLib that still has a .NET Framework target. Later versions
only have a .NET Standard target -->
<PackageReference Include="SharpZipLib" Version="1.3.3" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
<RootNamespace>NewRelic.Providers.Wrapper.MicrosoftExtensionsLogging</RootNamespace>
<AssemblyName>NewRelic.Providers.Wrapper.MicrosoftExtensionsLogging</AssemblyName>
<Description>Microsoft.Extensions.Logging Wrapper Provider for New Relic .NET Agent</Description>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9e90246

Please sign in to comment.