Merge pull request #13107 from dotnet/marcpopMSFT-testtemplates
Enable 7.0 test templates
This commit is contained in:
commit
7abd046866
2 changed files with 3 additions and 7 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue