Enable the 9.0 templates (#17673)
This commit is contained in:
commit
b9f8a4b0ed
4 changed files with 5 additions and 12 deletions
|
@ -187,7 +187,7 @@
|
|||
</ItemGroup>
|
||||
<Copy SourceFiles="%(BundledTemplatesWithInstallPaths.RestoredNupkgPath)"
|
||||
DestinationFolder="$(RedistLayoutPath)templates/%(BundledTemplatesWithInstallPaths.BundledTemplateInstallPath)"
|
||||
Condition="'%(BundledTemplatesWithInstallPaths.TemplateFrameworkVersion)' == '8.0'"/>
|
||||
Condition="'%(BundledTemplatesWithInstallPaths.TemplateFrameworkVersion)' == '9.0'"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="LayoutTemplatesForMSI"
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace EndToEnd
|
|||
[ClassData(typeof(SupportedNetCoreAppVersions))]
|
||||
public void ItDoesNotRollForwardToTheLatestVersionOfNetCore(string minorVersion)
|
||||
{
|
||||
if (minorVersion == "3.0" || minorVersion == "3.1" || minorVersion == "5.0" || minorVersion == "6.0" || minorVersion == "7.0" || minorVersion == "8.0")
|
||||
if (minorVersion == "3.0" || minorVersion == "3.1" || minorVersion == "5.0" || minorVersion == "6.0" || minorVersion == "7.0" || minorVersion == "8.0" || minorVersion == "9.0")
|
||||
{
|
||||
// https://github.com/dotnet/core-sdk/issues/621
|
||||
return;
|
||||
|
@ -30,7 +30,7 @@ namespace EndToEnd
|
|||
[ClassData(typeof(SupportedAspNetCoreVersions))]
|
||||
public void ItDoesNotRollForwardToTheLatestVersionOfAspNetCoreApp(string minorVersion)
|
||||
{
|
||||
if (minorVersion == "3.0" || minorVersion == "3.1" || minorVersion == "5.0" || minorVersion == "6.0" || minorVersion == "7.0" || minorVersion == "8.0")
|
||||
if (minorVersion == "3.0" || minorVersion == "3.1" || minorVersion == "5.0" || minorVersion == "6.0" || minorVersion == "7.0" || minorVersion == "8.0" || minorVersion == "9.0")
|
||||
{
|
||||
// https://github.com/dotnet/core-sdk/issues/621
|
||||
return;
|
||||
|
|
|
@ -440,14 +440,6 @@ 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("winforms")
|
||||
|| template.StartsWith("wpf")
|
||||
|| template.StartsWith("web")
|
||||
|| template.StartsWith("razor")
|
||||
|| template.StartsWith("blazor")
|
||||
|| template.StartsWith("mvc")
|
||||
|| template.StartsWith("worker")
|
||||
|| template.StartsWith("grpc")
|
||||
|| template.StartsWith("classlib")
|
||||
|| template.StartsWith("console")
|
||||
|| template.StartsWith("nunit")
|
||||
|
|
|
@ -31,7 +31,8 @@ namespace EndToEnd
|
|||
"5.0",
|
||||
"6.0",
|
||||
"7.0",
|
||||
"8.0"
|
||||
"8.0",
|
||||
"9.0"
|
||||
};
|
||||
|
||||
public static IEnumerable<string> TargetFrameworkShortFolderVersion
|
||||
|
|
Loading…
Reference in a new issue