diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fa5d9def..c2e22221 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -76,7 +76,7 @@ jobs: needs: [build-solution] strategy: matrix: - framework: [net7.0, net6.0, netcoreapp3.1, net472] + framework: [net7.0, net6.0, net472] runs-on: windows-2022 # Set the environment variable which is then looked up in ComputeSharp.Dynamic. @@ -171,7 +171,7 @@ jobs: needs: [build-solution] strategy: matrix: - framework: [net7.0, net6.0, netcoreapp3.1, net472] + framework: [net7.0, net6.0, net472] runs-on: windows-2022 steps: - name: Git checkout @@ -253,7 +253,7 @@ jobs: needs: [build-packages] strategy: matrix: - framework: [net7.0, net6.0, netcoreapp3.1, net472] + framework: [net7.0, net6.0, net472] runs-on: windows-2022 steps: - name: Git checkout diff --git a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj index 66a64dae..9fa52198 100644 --- a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj +++ b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj @@ -1,7 +1,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 $(NoWarn);CA1416 diff --git a/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj b/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj index 54042c69..bed5ec98 100644 --- a/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj +++ b/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0 + net472;net6.0 $(NoWarn);CA1416 diff --git a/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj b/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj index 19e703f8..d65b96d1 100644 --- a/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj +++ b/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj @@ -2,7 +2,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 5.0 diff --git a/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj b/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj index a32c39f5..3e3811bd 100644 --- a/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj +++ b/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj @@ -1,7 +1,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj index 00653d0e..f0b46213 100644 --- a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj +++ b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 diff --git a/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj b/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj index afd5ac89..b96dcee7 100644 --- a/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj +++ b/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs index 92c9e71e..8f68bced 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/ZonePlateEffect.cs @@ -2,7 +2,7 @@ using System; namespace ComputeSharp.D2D1.Tests.Effects; -#if !NETCOREAPP3_1_OR_GREATER +#if !NET6_0_OR_GREATER internal static class MathF { public const float PI = (float)Math.PI; diff --git a/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs b/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs index 9039342d..dc6b3840 100644 --- a/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs +++ b/tests/ComputeSharp.D2D1.Tests/Extensions/HRESULTExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel; using System.Diagnostics; -#if NETCOREAPP3_1_OR_GREATER +#if NET6_0_OR_GREATER using System.Diagnostics.CodeAnalysis; #endif using System.Runtime.CompilerServices; @@ -47,7 +47,7 @@ internal static class HRESULTExtensions /// Throws a . /// /// The input return code. -#if NETCOREAPP3_1_OR_GREATER +#if NET6_0_OR_GREATER [DoesNotReturn] #endif private static void ThrowWin32Exception(int result) diff --git a/tests/ComputeSharp.Dynamic.NuGet/ComputeSharp.Dynamic.NuGet.csproj b/tests/ComputeSharp.Dynamic.NuGet/ComputeSharp.Dynamic.NuGet.csproj index 449b5c70..6dd667ab 100644 --- a/tests/ComputeSharp.Dynamic.NuGet/ComputeSharp.Dynamic.NuGet.csproj +++ b/tests/ComputeSharp.Dynamic.NuGet/ComputeSharp.Dynamic.NuGet.csproj @@ -1,7 +1,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 https://api.nuget.org/v3/index.json; diff --git a/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj b/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj index db42eee8..3cac8867 100644 --- a/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj +++ b/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj @@ -1,7 +1,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 https://api.nuget.org/v3/index.json; diff --git a/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj b/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj index c0b9b687..d073ca8e 100644 --- a/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj +++ b/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj @@ -1,7 +1,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 https://api.nuget.org/v3/index.json; diff --git a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj index 2a919897..1039dd28 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj +++ b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 diff --git a/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj b/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj index 19eeb35b..62ca8e2a 100644 --- a/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj +++ b/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 diff --git a/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj b/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj index e321b6cb..ad0a1cc7 100644 --- a/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj +++ b/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj @@ -1,7 +1,7 @@ Exe - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 enable diff --git a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj index 63ad2319..97980046 100644 --- a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj +++ b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 diff --git a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj index eee72fa2..a3c9b629 100644 --- a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj +++ b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj @@ -1,6 +1,6 @@ - net472;netcoreapp3.1;net6.0;net7.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 diff --git a/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs b/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs index 01261a90..fa809217 100644 --- a/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs +++ b/tests/ComputeSharp.Tests/Polyfills/RandomExtensions.cs @@ -1,4 +1,4 @@ -#if !NETCOREAPP3_1_OR_GREATER +#if !NET6_0_OR_GREATER namespace System;