|
4 | 4 | <Description>Serilog support for ASP.NET Core logging</Description> |
5 | 5 | <VersionPrefix>4.0.1</VersionPrefix> |
6 | 6 | <Authors>Microsoft;Serilog Contributors</Authors> |
7 | | - <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks> |
| 7 | + <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks> |
8 | 8 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
9 | 9 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
10 | 10 | <AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile> |
|
32 | 32 | <PackageReference Include="Serilog.Sinks.Debug" Version="2.0.0" /> |
33 | 33 | <PackageReference Include="Serilog.Settings.Configuration" Version="3.1.0" /> |
34 | 34 | <PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" /> |
35 | | - <PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" /> |
36 | 35 | <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.8" /> |
37 | 36 | <PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.8" /> |
38 | 37 | </ItemGroup> |
39 | 38 |
|
| 39 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 40 | + <PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" /> |
| 41 | + <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> |
| 42 | + </ItemGroup> |
| 43 | + |
| 44 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> |
| 45 | + <PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" /> |
| 46 | + <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> |
| 47 | + </ItemGroup> |
| 48 | + |
| 49 | + <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
| 50 | + <FrameworkReference Include="Microsoft.AspNetCore.App" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <ItemGroup Condition="'$(TargetFramework)' == 'net5.0'"> |
| 54 | + <FrameworkReference Include="Microsoft.AspNetCore.App" /> |
| 55 | + </ItemGroup> |
| 56 | + |
40 | 57 | </Project> |
0 commit comments