Skip to content

Commit eafe7d5

Browse files
authored
Merge pull request #80 from megakid/dev
Adding netcoreapp2.0 target
2 parents 48485bc + 9ba1374 commit eafe7d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Serilog.Sinks.Console/Serilog.Sinks.Console.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<Description>A Serilog sink that writes log events to the console/terminal.</Description>
55
<VersionPrefix>4.0.0</VersionPrefix>
66
<Authors>Serilog Contributors</Authors>
7-
<TargetFrameworks>net45;netstandard1.3;netstandard2.0;netcoreapp1.1</TargetFrameworks>
7+
<TargetFrameworks>net45;netstandard1.3;netstandard2.0;netcoreapp1.1;netcoreapp2.0</TargetFrameworks>
88
<AssemblyName>Serilog.Sinks.Console</AssemblyName>
99
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
1010
<SignAssembly>true</SignAssembly>
@@ -20,7 +20,7 @@
2020
<GenerateAssemblyFileVersionAttribute>true</GenerateAssemblyFileVersionAttribute>
2121
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2222
<!-- Don't reference the full NETStandard.Library -->
23-
<DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' != 'netstandard2.0' ">true</DisableImplicitFrameworkReferences>
23+
<DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' != 'netstandard2.0' And '$(TargetFramework)' != 'netcoreapp2.0' ">true</DisableImplicitFrameworkReferences>
2424
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
2525
<TreatSpecificWarningsAsErrors />
2626
<RootNamespace>Serilog</RootNamespace>
@@ -53,5 +53,6 @@
5353
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
5454
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
5555
</ItemGroup>
56+
5657

5758
</Project>

0 commit comments

Comments
 (0)