|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 | 4 | <Description>Serilog provider for Microsoft.Extensions.Logging</Description>
|
5 |
| - <VersionPrefix>1.4.1</VersionPrefix> |
| 5 | + <VersionPrefix>2.0.0</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 | + <Compile Remove="SerilogLoggerServicesExtensions.cs" /> |
33 | 34 | </ItemGroup>
|
34 | 35 |
|
35 | 36 | <ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
|
36 | 37 | <Reference Include="System.Runtime" />
|
37 | 38 | <Reference Include="System" />
|
38 | 39 | <Reference Include="Microsoft.CSharp" />
|
| 40 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
| 41 | + <Compile Remove="SerilogLoggerServicesExtensions.cs" /> |
| 42 | + </ItemGroup> |
| 43 | + |
| 44 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> |
| 45 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
| 46 | + <Compile Remove="SerilogLoggerServicesExtensions.cs" /> |
| 47 | + </ItemGroup> |
| 48 | + |
| 49 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 50 | + <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.0.0-preview2-final" /> |
| 51 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0-preview2-final" /> |
| 52 | + <PackageReference Include="Microsoft.Extensions.Logging" Version="2.0.0-preview2-final" /> |
| 53 | + <PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" /> |
| 54 | + <Compile Remove="SerilogLoggerFactoryExtensions.cs" /> |
39 | 55 | </ItemGroup>
|
40 | 56 |
|
41 | 57 | <PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
|
|
46 | 62 | <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants>
|
47 | 63 | </PropertyGroup>
|
48 | 64 |
|
| 65 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 66 | + <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants> |
| 67 | + </PropertyGroup> |
| 68 | + |
49 | 69 | </Project>
|
0 commit comments