|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | 2 | <PropertyGroup> |
4 | 3 | <Description>Serilog provider for Microsoft.Extensions.Logging</Description> |
5 | 4 | <VersionPrefix>1.4.1</VersionPrefix> |
|
20 | 19 | <!-- Don't reference the full NETStandard.Library --> |
21 | 20 | <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
22 | 21 | </PropertyGroup> |
23 | | - |
24 | 22 | <ItemGroup> |
25 | 23 | <PackageReference Include="Serilog" Version="2.3.0" /> |
26 | 24 | </ItemGroup> |
27 | | - |
28 | 25 | <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> |
29 | 26 | <Reference Include="System.Runtime" /> |
30 | 27 | <Reference Include="System" /> |
31 | 28 | <Reference Include="Microsoft.CSharp" /> |
32 | 29 | <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
33 | 30 | </ItemGroup> |
34 | | - |
35 | 31 | <ItemGroup Condition=" '$(TargetFramework)' == 'net46' "> |
36 | 32 | <Reference Include="System.Runtime" /> |
37 | 33 | <Reference Include="System" /> |
38 | 34 | <Reference Include="Microsoft.CSharp" /> |
39 | 35 | <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
40 | 36 | </ItemGroup> |
41 | | - |
42 | 37 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> |
43 | 38 | <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" /> |
44 | 39 | <Compile Remove="SerilogLoggerServicesExtensions.cs" /> |
45 | 40 | </ItemGroup> |
46 | | - |
47 | 41 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 42 | + <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.0.0-preview2-final" /> |
48 | 43 | <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0-preview2-final" /> |
| 44 | + <PackageReference Include="Microsoft.Extensions.Logging" Version="2.0.0-preview2-final" /> |
49 | 45 | <PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" /> |
50 | 46 | <Compile Remove="SerilogLoggerFactoryExtensions.cs" /> |
51 | 47 | </ItemGroup> |
52 | | - |
53 | 48 | <PropertyGroup Condition=" '$(TargetFramework)' == 'net46' "> |
54 | 49 | <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants> |
55 | 50 | </PropertyGroup> |
56 | | - |
57 | 51 | <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> |
58 | 52 | <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants> |
59 | 53 | </PropertyGroup> |
60 | | - |
61 | 54 | <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
62 | 55 | <DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants> |
63 | 56 | </PropertyGroup> |
64 | | - |
65 | 57 | </Project> |
0 commit comments