diff --git a/src/redist/targets/BundledTemplates.targets b/src/redist/targets/BundledTemplates.targets index 7a54451cc..0e6699ff4 100644 --- a/src/redist/targets/BundledTemplates.targets +++ b/src/redist/targets/BundledTemplates.targets @@ -31,7 +31,7 @@ - + diff --git a/test/EndToEnd/ProjectBuildTests.cs b/test/EndToEnd/ProjectBuildTests.cs index edaa1add5..af3c0067e 100644 --- a/test/EndToEnd/ProjectBuildTests.cs +++ b/test/EndToEnd/ProjectBuildTests.cs @@ -396,13 +396,9 @@ namespace EndToEnd.Tests { // TODO: This block need to be updated when every template updates their default tfm. // Currently winforms updated their default templates target but not others. - if (template.StartsWith("mstest") - || template.StartsWith("mstest") - || template.StartsWith("nunit") - || template.StartsWith("xunit") - || template.StartsWith("wpf")) + if (template.StartsWith("wpf")) { - return "net6.0"; + return "net6.0"; } return $"net{latestMajorVersion}.0"; }