From df44ccc14cc11b5674c55aca9ba8596bdbcf8438 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Tue, 3 Dec 2024 17:14:24 -0300 Subject: [PATCH] Make sure to reference NS2.0 analyzers for tests debugging Since analyzers cannot target anything else. --- samples/dotnet/SponsorLink.Analyzer.Tests.targets | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/samples/dotnet/SponsorLink.Analyzer.Tests.targets b/samples/dotnet/SponsorLink.Analyzer.Tests.targets index bd38790..1ce67f6 100644 --- a/samples/dotnet/SponsorLink.Analyzer.Tests.targets +++ b/samples/dotnet/SponsorLink.Analyzer.Tests.targets @@ -21,19 +21,29 @@ - - + + + + + $([MSBuild]::ValueOrDefault('%(FullPath)', '').Replace('net6.0', 'netstandard2.0').Replace('net8.0', 'netstandard2.0').Replace('netcoreapp3.1', 'netstandard2.0')) + + + +