Skip to content

Commit a346d11

Browse files
committed
Drop net5.0 runtime targets
Where we already had a .NET 6 target, we just drop net5.0. Where .NET 5 was the latest target, we change it to target .NET 6. This is because .NET 5 is no longer supported by Microsoft, so no one is expected to be using that runtime at this point.
1 parent a032406 commit a346d11

File tree

6 files changed

+5
-13
lines changed

6 files changed

+5
-13
lines changed

azure-pipelines/build_nonWindows.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ steps:
1313
arguments: --no-build -c $(BuildConfiguration) -f netcoreapp3.1 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
1414
testRunTitle: netcoreapp3.1-$(Agent.JobName)
1515

16-
- task: DotNetCoreCLI@2
17-
displayName: Run MessagePack.Tests (net5.0)
18-
inputs:
19-
command: test
20-
projects: tests/MessagePack.Tests/MessagePack.Tests.csproj
21-
arguments: --no-build -c $(BuildConfiguration) -f net5.0 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
22-
testRunTitle: net5.0-$(Agent.JobName)
23-
2416
- task: DotNetCoreCLI@2
2517
displayName: Run MessagePack.Tests (net6.0)
2618
inputs:

sandbox/PerfBenchmarkDotNet/PerfBenchmarkDotNet.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
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net472;net5.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net6.0</TargetFrameworks>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
77
</PropertyGroup>

sandbox/PerfNetFramework/PerfNetFramework.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
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net472;net5.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net6.0</TargetFrameworks>
55
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
66
</PropertyGroup>
77
<ItemGroup>

src/MessagePack.Generator/MessagePack.Generator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>mpc</AssemblyName>
55
<OutputType>Exe</OutputType>
6-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
6+
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
77
<LangVersion>10</LangVersion>
88
<Nullable>enable</Nullable>
99
<IsPackable>true</IsPackable>

src/MessagePack/MessagePack.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>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
55
<NoWarn>$(NoWarn);CS0649</NoWarn>
66
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
77
<DefineConstants Condition=" '$(TargetFramework)' != 'netstandard2.0' ">$(DefineConstants);SPAN_BUILTIN</DefineConstants>

tests/MessagePack.Tests/MessagePack.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net472;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
3+
<TargetFrameworks>net472;netcoreapp3.1;net6.0</TargetFrameworks>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
55
<LangVersion>10</LangVersion>
66
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

0 commit comments

Comments
 (0)