Skip to content

Commit

Permalink
drop target framework net6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Dec 12, 2024
1 parent 4fc1f20 commit f150d31
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net6.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net8.0;netstandard2.1</TargetFrameworks>
<VersionPrefix>2.1.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageValidationBaselineVersion>2.0.0</PackageValidationBaselineVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/Smdn.Net.SkStackIP/Smdn.Net.SkStackIP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net6.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net8.0;netstandard2.1</TargetFrameworks>
<VersionPrefix>1.4.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
Expand Down
1 change: 0 additions & 1 deletion tests/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ SPDX-License-Identifier: MIT
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkDotNet80)' == 'true' ">net8.0;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkDotNet60)' == 'true' ">net6.0;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkNetFx)' == 'true' ">$(TargetFrameworks)</TargetFrameworks>
</PropertyGroup>

Expand Down
1 change: 0 additions & 1 deletion tests/Smdn.Net.SkStackIP/Smdn.Net.SkStackIP.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ SPDX-License-Identifier: MIT
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkDotNet80)' == 'true' ">net8.0;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkDotNet60)' == 'true' ">net6.0;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition=" '$(EnableTargetFrameworkNetFx)' == 'true' ">$(TargetFrameworks)</TargetFrameworks>
</PropertyGroup>

Expand Down
9 changes: 0 additions & 9 deletions tests/TargetFrameworks.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ SPDX-License-Identifier: MIT
<PropertyGroup>
<!-- enable target framework net* (.NET >= 5.0) by default -->
<EnableTargetFrameworkDotNet>true</EnableTargetFrameworkDotNet>
<EnableTargetFrameworkDotNet60>true</EnableTargetFrameworkDotNet60>
<EnableTargetFrameworkDotNet80>true</EnableTargetFrameworkDotNet80>
<!-- enable target framework net* (.NET Framework/Mono) by default -->
<EnableTargetFrameworkNetFx>true</EnableTargetFrameworkNetFx>
Expand Down Expand Up @@ -35,15 +34,7 @@ SPDX-License-Identifier: MIT
$([System.Runtime.InteropServices.RuntimeInformation]::OSDescription.StartsWith('Ubuntu 24.04'))
"
>
<!-- disable net6.0 on GitHub Actions Ubuntu 24.04 runner images -->
<EnableTargetFrameworkDotNet60 Condition=" '$(GITHUB_ACTIONS)' == 'true' ">false</EnableTargetFrameworkDotNet60>
<!-- disable Mono on GitHub Actions Ubuntu 24.04 runner images -->
<EnableTargetFrameworkNetFx Condition=" '$(GITHUB_ACTIONS)' == 'true' ">false</EnableTargetFrameworkNetFx>
</PropertyGroup>

<!-- On MacOS -->
<PropertyGroup Condition="$([System.OperatingSystem]::IsMacOS())">
<!-- disable net6.0 on GitHub Actions MacOS runner images -->
<EnableTargetFrameworkDotNet60 Condition=" '$(GITHUB_ACTIONS)' == 'true' ">false</EnableTargetFrameworkDotNet60>
</PropertyGroup>
</Project>

0 comments on commit f150d31

Please sign in to comment.