From 23318fa60af666897bbbf0cde434c8b197a2f29d Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:00:29 +0900 Subject: [PATCH] chore: remove .NET 6 target from Snapshot.Tests --- test/docfx.Snapshot.Tests/SamplesTest.cs | 2 ++ test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/test/docfx.Snapshot.Tests/SamplesTest.cs b/test/docfx.Snapshot.Tests/SamplesTest.cs index 5d80b117c63..a8aa0f3462d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.cs +++ b/test/docfx.Snapshot.Tests/SamplesTest.cs @@ -37,6 +37,8 @@ private class SamplesFactAttribute : FactAttribute { public SamplesFactAttribute() { + // When target framework changed. + // It need to modify TargetFrameworks of `docfx.Snapshot.Tests.csproj` #if !NET8_0 Skip = "Skip by target framework"; #endif diff --git a/test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj b/test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj index 24c17a9ecf2..decc1422a04 100644 --- a/test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj +++ b/test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj @@ -1,4 +1,9 @@ + + + net8.0 + +