|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 | 4 | <Description>The Splunk Sink for Serilog</Description>
|
5 |
| - <VersionPrefix>3.0.0</VersionPrefix> |
| 5 | + <VersionPrefix>3.1.0</VersionPrefix> |
6 | 6 | <Authors>Matthew Erbs, Serilog Contributors</Authors>
|
7 |
| - <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> |
| 7 | + <TargetFrameworks>net45;netstandard1.1;netstandard2.0</TargetFrameworks> |
8 | 8 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
9 | 9 | <AssemblyName>Serilog.Sinks.Splunk</AssemblyName>
|
10 | 10 | <PackageId>Serilog.Sinks.Splunk</PackageId>
|
|
21 | 21 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
22 | 22 | </PropertyGroup>
|
23 | 23 |
|
24 |
| - <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> |
25 |
| - <PackageReference Include="Serilog" Version="2.6.0" /> |
26 |
| - <PackageReference Include="System.Net.Http" Version="4.3.3" /> |
| 24 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net45' "> |
| 25 | + <!-- Don't reference unused System assemblies --> |
| 26 | + <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
| 27 | + </PropertyGroup> |
| 28 | + |
| 29 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' "> |
| 30 | + <!-- Don't reference the full NETStandard.Library --> |
| 31 | + <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
| 32 | + </PropertyGroup> |
| 33 | + |
| 34 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> |
| 35 | + <Reference Include="System" /> |
| 36 | + <Reference Include="System.Core" /> |
| 37 | + <Reference Include="System.Net.Http" /> |
| 38 | + </ItemGroup> |
| 39 | + |
| 40 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' "> |
| 41 | + <PackageReference Include="System.Net.Http" Version="4.3.0" /> |
27 | 42 | </ItemGroup>
|
28 | 43 |
|
29 | 44 | <ItemGroup>
|
| 45 | + <PackageReference Include="Serilog" Version="2.6.0" /> |
30 | 46 | <PackageReference Include="Serilog.Sinks.PeriodicBatching" Version="2.1.1" />
|
31 | 47 | </ItemGroup>
|
32 | 48 |
|
|
0 commit comments