From 62a57d56a299072cedf05b60385cd6292ae4a1e3 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Thu, 13 Jan 2022 12:35:14 -0800 Subject: [PATCH] Update ProjectBuildTests.cs --- test/EndToEnd/ProjectBuildTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/EndToEnd/ProjectBuildTests.cs b/test/EndToEnd/ProjectBuildTests.cs index f90a22160..26828ca7e 100644 --- a/test/EndToEnd/ProjectBuildTests.cs +++ b/test/EndToEnd/ProjectBuildTests.cs @@ -314,7 +314,7 @@ namespace EndToEnd.Tests [InlineData("razorclasslib")] public void ItCanCreateAndBuildTemplatesWithDefaultFramework(string templateName, string language = "") { - string framework = DetectExpectedDefaultFramework(); + string framework = DetectExpectedDefaultFramework(templateName); TestTemplateCreateAndBuild(templateName, selfContained: true, language: language, framework: framework); } @@ -401,7 +401,8 @@ namespace EndToEnd.Tests || template.StartsWith("classlib") || template.StartsWith("console") || template.StartsWith("nunit") - || template.StartsWith("xunit")) + || template.StartsWith("xunit") + || template.StartsWith("wpf")) { return "net6.0"; }