|
4 | 4 | <Description>Serilog provider for Microsoft.Extensions.Logging</Description>
|
5 | 5 | <VersionPrefix>1.4.1</VersionPrefix>
|
6 | 6 | <Authors>Microsoft;Serilog Contributors</Authors>
|
7 |
| - <TargetFrameworks>net45;net46;netstandard1.3</TargetFrameworks> |
| 7 | + <TargetFrameworks>net45;net46;netstandard1.3,netstandard2.0</TargetFrameworks> |
8 | 8 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
9 | 9 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
10 | 10 | <AssemblyName>Serilog.Extensions.Logging</AssemblyName>
|
|
22 | 22 | </PropertyGroup>
|
23 | 23 |
|
24 | 24 | <ItemGroup>
|
25 |
| - <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
26 | 25 | <PackageReference Include="Serilog" Version="2.3.0" />
|
27 | 26 | </ItemGroup>
|
28 | 27 |
|
29 | 28 | <ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
|
30 | 29 | <Reference Include="System.Runtime" />
|
31 | 30 | <Reference Include="System" />
|
32 | 31 | <Reference Include="Microsoft.CSharp" />
|
| 32 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
33 | 33 | </ItemGroup>
|
34 | 34 |
|
35 | 35 | <ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
|
36 | 36 | <Reference Include="System.Runtime" />
|
37 | 37 | <Reference Include="System" />
|
38 | 38 | <Reference Include="Microsoft.CSharp" />
|
| 39 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
| 40 | + </ItemGroup> |
| 41 | + |
| 42 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> |
| 43 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
| 44 | + <Compile Remove="SerilogLoggerServicesExtensions.cs" /> |
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 48 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0-preview2-final" /> |
| 49 | + <PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" /> |
| 50 | + <Compile Remove="SerilogLoggerFactoryExtensions.cs" /> |
39 | 51 | </ItemGroup>
|
40 | 52 |
|
41 | 53 | <PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
|
|
46 | 58 | <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants>
|
47 | 59 | </PropertyGroup>
|
48 | 60 |
|
| 61 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 62 | + <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants> |
| 63 | + </PropertyGroup> |
| 64 | + |
49 | 65 | </Project>
|
0 commit comments