|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 | 4 | <Description>Add file logging to ASP.NET Core apps with one line of code.</Description>
|
5 |
| - <VersionPrefix>3.1.0</VersionPrefix> |
| 5 | + <VersionPrefix>3.0.0</VersionPrefix> |
6 | 6 | <Authors>Serilog Contributors</Authors>
|
7 |
| - <TargetFrameworks>netstandard2.0</TargetFrameworks> |
| 7 | + <TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks> |
8 | 8 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
9 | 9 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
10 | 10 | <AssemblyName>Serilog.Extensions.Logging.File</AssemblyName>
|
|
30 | 30 | <PackageReference Include="Serilog.Sinks.RollingFile" Version="3.3.0" />
|
31 | 31 | <PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" />
|
32 | 32 | <PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
|
33 |
| - <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.0.0" /> |
34 |
| - <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.0.0" /> |
| 33 | + </ItemGroup> |
| 34 | + |
| 35 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 36 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.2.0" /> |
| 37 | + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.2.4" /> |
| 38 | + </ItemGroup> |
| 39 | + |
| 40 | + <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
| 41 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.22" /> |
| 42 | + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.22" /> |
| 43 | + </ItemGroup> |
| 44 | + |
| 45 | + <ItemGroup Condition="'$(TargetFramework)' == 'net5.0'"> |
| 46 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0" /> |
| 47 | + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="5.0.0" /> |
| 48 | + </ItemGroup> |
| 49 | + |
| 50 | + <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'"> |
| 51 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" /> |
| 52 | + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" /> |
35 | 53 | </ItemGroup>
|
36 | 54 |
|
37 | 55 | </Project>
|
0 commit comments