Skip to content

Commit c7cafe7

Browse files
committed
Use simple TFMs to make build happy
1 parent 7b011d9 commit c7cafe7

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
2424
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
2525
<NoWarn>$(NoWarn);CS1591</NoWarn>
26-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
2726
<IsWindows>$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::get_Windows())))</IsWindows>
2827
</PropertyGroup>
2928

src/NRedisStack/NRedisStack.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>$(TargetFrameworks);netstandard2.0;net481</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;netstandard2.0;net481</TargetFrameworks>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<PackageReadmeFile>README.md</PackageReadmeFile>
77
<PackageIcon>Redis.png</PackageIcon>

tests/Doc/Doc.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks Condition=" '$(IsWindows)' == 'true'">$(TargetFrameworks);net481</TargetFrameworks>
3+
<TargetFrameworks Condition=" '$(IsWindows)' == 'true'">net6.0;net7.0;net8.0;net481</TargetFrameworks>
4+
<TargetFrameworks Condition=" '$(IsWindows)' != 'true'">net6.0;net7.0;net8.0</TargetFrameworks>
45
<IsPackable>false</IsPackable>
56
</PropertyGroup>
67
<ItemGroup>

tests/NRedisStack.Tests/NRedisStack.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks Condition=" '$(IsWindows)' == 'true'">$(TargetFrameworks);net481</TargetFrameworks>
3+
<TargetFrameworks Condition=" '$(IsWindows)' == 'true'">net6.0;net7.0;net8.0;net481</TargetFrameworks>
4+
<TargetFrameworks Condition=" '$(IsWindows)' != 'true'">net6.0;net7.0;net8.0</TargetFrameworks>
45
<IsPackable>false</IsPackable>
56
</PropertyGroup>
67

0 commit comments

Comments
 (0)