|
4 | 4 | <Description>Microsoft.Extensions.Configuration (appsettings.json) support for Serilog.</Description>
|
5 | 5 | <VersionPrefix>3.0.0</VersionPrefix>
|
6 | 6 | <Authors>Serilog Contributors</Authors>
|
7 |
| - <TargetFrameworks>net451;netstandard1.6</TargetFrameworks> |
| 7 | + <TargetFrameworks>netstandard2.0;net451</TargetFrameworks> |
8 | 8 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
9 | 9 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
10 | 10 | <AssemblyName>Serilog.Settings.Configuration</AssemblyName>
|
|
16 | 16 | <PackageIconUrl>https://serilog.net/images/serilog-configuration-nuget.png</PackageIconUrl>
|
17 | 17 | <PackageProjectUrl>https://github.com/serilog/serilog-settings-configuration</PackageProjectUrl>
|
18 | 18 | <PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
|
19 |
| - |
20 |
| - <!-- Don't reference the full NETStandard.Library --> |
21 |
| - <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
22 | 19 | <RootNamespace>Serilog</RootNamespace>
|
23 | 20 | </PropertyGroup>
|
24 | 21 |
|
25 | 22 | <ItemGroup>
|
26 |
| - <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="1.0.0" /> |
27 |
| - <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="1.0.0" /> |
| 23 | + <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.0.4" /> |
28 | 24 | <PackageReference Include="Serilog" Version="2.6.0" />
|
29 | 25 | </ItemGroup>
|
30 | 26 |
|
| 27 | + <ItemGroup Condition="'$(TargetFramework)' == 'net451'"> |
| 28 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="1.1.2" /> |
| 29 | + </ItemGroup> |
| 30 | + |
| 31 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 32 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.0.1" /> |
| 33 | + </ItemGroup> |
| 34 | + |
31 | 35 | <PropertyGroup Condition=" '$(TargetFramework)' == 'net451' ">
|
32 | 36 | <DefineConstants>$(DefineConstants);APPDOMAIN</DefineConstants>
|
33 | 37 | </PropertyGroup>
|
|
0 commit comments