diff --git a/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj b/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj index c4fb3d0673d..5ba17a6a447 100644 --- a/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj +++ b/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj @@ -1,4 +1,8 @@ + + false + + diff --git a/test/docfx.Snapshot.Tests/SamplesTest.cs b/test/docfx.Snapshot.Tests/SamplesTest.cs index 397cd2bbabc..662345724fb 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 is changed. + // It need to modify TargetFrameworks property 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..56c718ed26b 100644 --- a/test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj +++ b/test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj @@ -1,4 +1,8 @@ + + net8.0 + +