From a4e67e942ffa5fbcd82ec64f27723be8107628c2 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 22 Oct 2022 18:28:31 +0200 Subject: [PATCH 1/2] Fix return attributes generation --- ... => System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute.cs} | 0 ...> System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.cs} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/PolySharp.SourceGenerators/EmbeddedResources/{System.Diagnostics.CodeAnalysis.DoesNotReturnAttributes.cs => System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute.cs} (100%) rename src/PolySharp.SourceGenerators/EmbeddedResources/{System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttributes.cs => System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.cs} (100%) diff --git a/src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnAttributes.cs b/src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute.cs similarity index 100% rename from src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnAttributes.cs rename to src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute.cs diff --git a/src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttributes.cs b/src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.cs similarity index 100% rename from src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttributes.cs rename to src/PolySharp.SourceGenerators/EmbeddedResources/System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.cs From 22504e89be879e5bc192d3d4962563a27bf35b99 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 22 Oct 2022 18:28:43 +0200 Subject: [PATCH 2/2] Enable multi-targeting in test projects --- tests/PolySharp.NuGet/PolySharp.NuGet.csproj | 4 ++-- tests/PolySharp.Tests/PolySharp.Tests.csproj | 9 ++------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/PolySharp.NuGet/PolySharp.NuGet.csproj b/tests/PolySharp.NuGet/PolySharp.NuGet.csproj index cf7745f..7704be7 100644 --- a/tests/PolySharp.NuGet/PolySharp.NuGet.csproj +++ b/tests/PolySharp.NuGet/PolySharp.NuGet.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;netcoreapp3.1;net6.0 https://api.nuget.org/v3/index.json; ..\..\artifacts; @@ -10,7 +10,7 @@ - + diff --git a/tests/PolySharp.Tests/PolySharp.Tests.csproj b/tests/PolySharp.Tests/PolySharp.Tests.csproj index c2d3cd0..f7cc954 100644 --- a/tests/PolySharp.Tests/PolySharp.Tests.csproj +++ b/tests/PolySharp.Tests/PolySharp.Tests.csproj @@ -1,15 +1,10 @@ - netstandard2.0 - true + netstandard2.0;netcoreapp3.1;net6.0 - - - - - +