Skip to content

Commit ac9ed51

Browse files
authored
Remove net461 target (#59)
* remove net461 framework target * set lang version to latest
1 parent 7f5ca01 commit ac9ed51

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

src/Hashids.net/Hashids.net.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
<PackageTags>ids;hash</PackageTags>
1414
<RepositoryType>git</RepositoryType>
1515
<RepositoryUrl>https://github.com/ullmark/hashids.net</RepositoryUrl>
16-
<TargetFrameworks>net461;netstandard2.0;net5.0;net6.0</TargetFrameworks>
16+
<TargetFrameworks>netstandard2.0;net5.0;net6.0</TargetFrameworks>
1717
<OutputType>Library</OutputType>
18-
<LangVersion>9</LangVersion>
18+
<LangVersion>latest</LangVersion>
1919
<IncludeSymbols>true</IncludeSymbols>
2020
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2121
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2222
<!-- CS1591: Missing XML comment for publicly visible type or member -->
2323
<NoWarn>$(NoWarn);CS1591</NoWarn>
2424
</PropertyGroup>
2525

26-
<ItemGroup Condition="'$(TargetFramework)' == 'net461' OR '$(TargetFramework)' == 'netstandard2.0'">
26+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
2727
<PackageReference Include="System.Buffers" Version="4.5.1" />
2828
</ItemGroup>
2929

test/Hashids.net.benchmark/Hashids.net.benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFrameworks>net48;net5.0</TargetFrameworks>
66
<IsPackable>false</IsPackable>
7-
<LangVersion>9</LangVersion>
7+
<LangVersion>latest</LangVersion>
88
</PropertyGroup>
99

1010
<ItemGroup>

test/Hashids.net.test/Hashids.net.test.csproj

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

33
<PropertyGroup>
4-
<!--
5-
The main project targets net461, netstandard2.0, net5.0 and net6.0
6-
As test projects cannot target netstandard the net48 target is used as a stand-in for that.
7-
-->
8-
<TargetFrameworks>net461;net48;net5.0;net6.0</TargetFrameworks>
4+
<!-- net48 target is used as a stand-in for testing netstandard2.0 -->
5+
<TargetFrameworks>net48;net5.0;net6.0</TargetFrameworks>
96
<IsPackable>false</IsPackable>
10-
<LangVersion>9</LangVersion>
7+
<LangVersion>latest</LangVersion>
118
</PropertyGroup>
129

1310
<ItemGroup>

0 commit comments

Comments
 (0)