From 04b0c9685c68b3c8c854a609c53242c2acaad927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jare=C5=A1?= Date: Tue, 1 Nov 2022 08:58:15 +0100 Subject: [PATCH] Remove exlusions --- test/EndToEnd/ProjectBuildTests.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/EndToEnd/ProjectBuildTests.cs b/test/EndToEnd/ProjectBuildTests.cs index 17d108a7c..0678fb440 100644 --- a/test/EndToEnd/ProjectBuildTests.cs +++ b/test/EndToEnd/ProjectBuildTests.cs @@ -394,13 +394,11 @@ namespace EndToEnd.Tests int latestMajorVersion = runtimeFolders.Select(folder => int.Parse(Path.GetFileName(folder).Split('.').First())).Max(); if (latestMajorVersion == 8) { + // Return net7.0 for templates that don't support + // net8.0 yet. if (template.StartsWith("blazor") - || template.StartsWith("mstest") || template.StartsWith("classlib") || template.StartsWith("console") - || template.StartsWith("nunit") - || template.StartsWith("xunit") - || template.StartsWith("xunit") || template.StartsWith("mvc") || template.StartsWith("web") || template.StartsWith("worker")