File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
test/Serilog.AspNetCore.Tests Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 44 <Description >Serilog support for ASP.NET Core logging</Description >
55 <VersionPrefix >4.0.0</VersionPrefix >
66 <Authors >Microsoft;Serilog Contributors</Authors >
7- <TargetFramework >netstandard2.1</TargetFramework >
7+ <TargetFrameworks >netstandard2.0;netstandard2. 1</TargetFrameworks >
88 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
99 <GenerateDocumentationFile >true</GenerateDocumentationFile >
1010 <AssemblyOriginatorKeyFile >../../assets/Serilog.snk</AssemblyOriginatorKeyFile >
2626
2727 <ItemGroup >
2828 <PackageReference Include =" Serilog" Version =" 2.10.0" />
29- <PackageReference Include =" Serilog.Extensions.Hosting" Version =" 4.0 .0" />
29+ <PackageReference Include =" Serilog.Extensions.Hosting" Version =" 4.1 .0" />
3030 <PackageReference Include =" Serilog.Sinks.Console" Version =" 3.1.1" />
3131 <PackageReference Include =" Serilog.Sinks.File" Version =" 4.1.0" />
3232 <PackageReference Include =" Serilog.Sinks.Debug" Version =" 2.0.0" />
3333 <PackageReference Include =" Serilog.Settings.Configuration" Version =" 3.1.0" />
3434 <PackageReference Include =" Serilog.Formatting.Compact" Version =" 1.1.0" />
35- </ItemGroup >
36-
37- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
3835 <PackageReference Include =" Microsoft.AspNetCore.Hosting.Abstractions" Version =" 2.2.0" />
3936 <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 3.1.8" />
4037 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 3.1.8" />
Original file line number Diff line number Diff line change 44using System ;
55using System . Linq ;
66using System . Threading . Tasks ;
7-
87using Xunit ;
9-
108using Microsoft . Extensions . DependencyInjection ;
119using Microsoft . AspNetCore . Hosting ;
1210using Microsoft . AspNetCore . Mvc . Testing ;
1311using Microsoft . AspNetCore . Builder ;
14-
1512using Serilog . Filters ;
1613using Serilog . AspNetCore . Tests . Support ;
1714
You can’t perform that action at this time.
0 commit comments