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