Skip to content

Commit 9226941

Browse files
authored
update tempate test tfm
1 parent b4342d5 commit 9226941

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/EndToEnd.Tests/ProjectBuildTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,7 @@ private static string DetectExpectedDefaultFramework(string template = "")
408408
{
409409
// TODO: This block need to be updated when every template updates their default tfm.
410410
// Currently winforms updated their default templates target but not others.
411-
if (template.StartsWith("mstest")
412-
|| template.StartsWith("winforms")
413-
|| template.StartsWith("wpf")
414-
|| template.StartsWith("nunit")
415-
|| template.StartsWith("xunit"))
411+
if (template.StartsWith("winforms") || template.StartsWith("wpf"))
416412
{
417413
return $"net9.0";
418414
}

0 commit comments

Comments
 (0)