Skip to content

Commit 129caf9

Browse files
committed
Missing package references.
1 parent 1b940d7 commit 129caf9

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

src/Serilog.Extensions.Logging/Serilog.Extensions.Logging.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<Description>Serilog provider for Microsoft.Extensions.Logging</Description>
54
<VersionPrefix>1.4.1</VersionPrefix>
@@ -20,46 +19,39 @@
2019
<!-- Don't reference the full NETStandard.Library -->
2120
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
2221
</PropertyGroup>
23-
2422
<ItemGroup>
2523
<PackageReference Include="Serilog" Version="2.3.0" />
2624
</ItemGroup>
27-
2825
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
2926
<Reference Include="System.Runtime" />
3027
<Reference Include="System" />
3128
<Reference Include="Microsoft.CSharp" />
3229
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" />
3330
</ItemGroup>
34-
3531
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
3632
<Reference Include="System.Runtime" />
3733
<Reference Include="System" />
3834
<Reference Include="Microsoft.CSharp" />
3935
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" />
4036
</ItemGroup>
41-
4237
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
4338
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.0.0" />
4439
<Compile Remove="SerilogLoggerServicesExtensions.cs" />
4540
</ItemGroup>
46-
4741
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
42+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.0.0-preview2-final" />
4843
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0-preview2-final" />
44+
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.0.0-preview2-final" />
4945
<PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" />
5046
<Compile Remove="SerilogLoggerFactoryExtensions.cs" />
5147
</ItemGroup>
52-
5348
<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
5449
<DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants>
5550
</PropertyGroup>
56-
5751
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
5852
<DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants>
5953
</PropertyGroup>
60-
6154
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
6255
<DefineConstants>$(DefineConstants);ASYNCLOCAL</DefineConstants>
6356
</PropertyGroup>
64-
6557
</Project>

src/Serilog.Extensions.Logging/SerilogLoggerServicesExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using Microsoft.Extensions.Logging;
33
using Serilog.Extensions.Logging;
44
using System.ComponentModel;
5+
using Microsoft.Extensions.DependencyInjection;
56

67
namespace Serilog
78
{

0 commit comments

Comments
 (0)