[master] Update dependencies from dotnet/templating (#6811)
* Update dependencies from https://github.com/dotnet/templating build 20200313.2 - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-preview.3.20163.2 * Update dependencies from https://github.com/dotnet/templating build 20200314.5 - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-preview.3.20164.5 * Update dependencies from https://github.com/dotnet/templating build 20200317.2 - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-preview.3.20167.2 * Update dependencies from https://github.com/dotnet/templating build 20200318.1 - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-preview.3.20168.1 * Change the test accordingly * Update dependencies from https://github.com/dotnet/templating build 20200319.1 - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-preview.3.20169.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: William Li <wul@microsoft.com>
This commit is contained in:
parent
35962621c2
commit
280735abb9
4 changed files with 24 additions and 5 deletions
|
@ -28,7 +28,26 @@ namespace EndToEnd
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public static IEnumerable<string> TargetFrameworkShortFolderVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
var targetFrameworkShortFolderVersion = new List<string>();
|
||||
foreach (var v in Versions)
|
||||
{
|
||||
if (Version.Parse(v).Major >= 5)
|
||||
{
|
||||
targetFrameworkShortFolderVersion.Add($"net{v}");
|
||||
}
|
||||
else
|
||||
{
|
||||
targetFrameworkShortFolderVersion.Add($"netcoreapp{v}");
|
||||
}
|
||||
}
|
||||
|
||||
return targetFrameworkShortFolderVersion;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class SupportedAspNetCoreVersions : IEnumerable<object[]>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue