diff --git a/Build/Nuke/ProjectExtensions.cs b/Build/Nuke/ProjectExtensions.cs index 1b45fd6..7899f5f 100644 --- a/Build/Nuke/ProjectExtensions.cs +++ b/Build/Nuke/ProjectExtensions.cs @@ -56,7 +56,7 @@ public static IReadOnlyCollection GetPlatformsForTests(this Project proj if (azurePipelines != null && x.framework.Contains("2.2")) return false; - //exclude netcore 2.1, 2.2, 3.0, 5.0 in x86 because is not well handle by azure pipelines and github actions on windows + //exclude netcore 2.1, 2.2, 3.0, 3.1, 5.0 in x86 because is not well handle by azure pipelines and github actions on windows if (x.platform != "x86") return true; if (x.framework == null) @@ -67,6 +67,8 @@ public static IReadOnlyCollection GetPlatformsForTests(this Project proj return false; if (x.framework.Contains("3.0")) return false; + if (x.framework.Contains("3.1")) + return false; if (x.framework.Contains("50")) return false; return true;