Update ProjectBuildTests.cs
This commit is contained in:
parent
a52977f225
commit
56ae7c4d7b
1 changed files with 0 additions and 9 deletions
|
@ -394,15 +394,6 @@ namespace EndToEnd.Tests
|
|||
int latestMajorVersion = runtimeFolders.Select(folder => int.Parse(Path.GetFileName(folder).Split('.').First())).Max();
|
||||
if (latestMajorVersion == 7)
|
||||
{
|
||||
// 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"))
|
||||
{
|
||||
return "net6.0";
|
||||
}
|
||||
return $"net{latestMajorVersion}.0";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue