Skip to content

Commit 497a3be

Browse files
committed
Added support for net35 and net40
1 parent fd70cfe commit 497a3be

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/NLog.Targets.Fluentd/NLog.Targets.Fluentd.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net35;net40;net45;netstandard2.0</TargetFrameworks>
55

66
<Description>NLog Target that emits the log entries to a fluentd node</Description>
77
<Authors>Moriyoshi Koizumi</Authors>
@@ -18,20 +18,19 @@
1818
<RepositoryUrl>git://github.com/fluent/NLog.Targets.Fluentd</RepositoryUrl>
1919
</PropertyGroup>
2020

21-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
21+
<PropertyGroup Condition=" '$(TargetFramework)' != 'netstandard2.0' ">
2222
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
2323
</PropertyGroup>
2424

25-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
25+
<ItemGroup Condition=" '$(TargetFramework)' != 'netstandard2.0' ">
2626
<Reference Include="System" />
2727
<Reference Include="System.Core" />
28-
<Reference Include="Microsoft.CSharp" />
2928

3029
<PackageReference Include="MsgPack.Cli" Version="0.8.0" />
3130
<PackageReference Include="NLog" Version="2.1.0.0" />
3231
</ItemGroup>
3332

34-
<ItemGroup Condition=" '$(TargetFramework)' != 'net45' ">
33+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
3534
<PackageReference Include="MsgPack.Cli" Version="0.9.2" />
3635
<PackageReference Include="NLog" Version="4.5.0-rc03" />
3736
</ItemGroup>

0 commit comments

Comments
 (0)