Skip to content

Commit

Permalink
Merge pull request #31 from edmacdonald/master
Browse files Browse the repository at this point in the history
Add targets for net6.0, net7.0
  • Loading branch information
mo-esmp authored Oct 31, 2023
2 parents c0bcab5 + e0fa4cb commit 267e54f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks>
<AssemblyName>Serilog.Enrichers.ClientInfo</AssemblyName>
<RootNamespace>Serilog</RootNamespace>
<LangVersion>latest</LangVersion>
Expand Down Expand Up @@ -32,5 +32,9 @@
<Reference Include="System.Web" />
<PackageReference Include="Serilog" Version="2.4.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net462' and '$(TargetFramework)' != 'netstandard2.0' and '$(TargetFramework)' != 'netstandard2.1'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Serilog" Version="2.9.0" />
</ItemGroup>

</Project>

0 comments on commit 267e54f

Please sign in to comment.