Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 10f9768

Browse files
author
Nate McMaster
committed
Add support for implicit versions of aspnetcore 2.2 metapackages
1 parent 8f86f8e commit 10f9768

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Web/Microsoft.NET.Sdk.Web.Targets/Sdk.DefaultItems.targets

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Copyright (c) .NET Foundation. All rights reserved.
4545
<!-- Default patch version of .All Framework -->
4646
<PropertyGroup Condition="'$(DefaultAspNetCoreAllPatchVersion)' == ''">
4747
<DefaultAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(DefaultPatchVersionForAspNetCoreAll2_1)</DefaultAspNetCoreAllPatchVersion>
48+
<DefaultAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.2'">$(DefaultPatchVersionForAspNetCoreAll2_2)</DefaultAspNetCoreAllPatchVersion>
4849

4950
<!-- If targeting the same pre-release that is bundled with the .NET Core SDK, use the bundled package version
5051
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
@@ -56,6 +57,7 @@ Copyright (c) .NET Foundation. All rights reserved.
5657
<!-- Default patch version of .App Framework -->
5758
<PropertyGroup Condition="'$(DefaultAspNetCoreAppPatchVersion)' == ''">
5859
<DefaultAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(DefaultPatchVersionForAspNetCoreApp2_1)</DefaultAspNetCoreAppPatchVersion>
60+
<DefaultAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.2'">$(DefaultPatchVersionForAspNetCoreApp2_2)</DefaultAspNetCoreAppPatchVersion>
5961

6062
<!-- If targeting the same pre-release that is bundled with the .NET Core SDK, use the bundled package version
6163
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
@@ -67,7 +69,7 @@ Copyright (c) .NET Foundation. All rights reserved.
6769
<!-- Latest patch version of .All Framework -->
6870
<PropertyGroup Condition="'$(LatestAspNetCoreAllPatchVersion)' == ''">
6971
<!-- Placeholder for setting latest patch version using the bundled version from CLI for previous TFMs, this will not apply until 2.2 -->
70-
<!-- <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreAll2_1)</LatestAspNetCoreAllPatchVersion> -->
72+
<LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreAll2_1)</LatestAspNetCoreAllPatchVersion>
7173

7274
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version
7375
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
@@ -79,7 +81,7 @@ Copyright (c) .NET Foundation. All rights reserved.
7981
<!-- Latest patch version of .App Framework -->
8082
<PropertyGroup Condition="'$(LatestAspNetCoreAppPatchVersion)' == ''">
8183
<!-- Placeholder for setting latest patch version using the bundled version from CLI for previous TFMs, this will not apply until 2.2 -->
82-
<!-- <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreApp2_1)</LatestAspNetCoreAppPatchVersion> -->
84+
<LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreApp2_1)</LatestAspNetCoreAppPatchVersion>
8385

8486
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version
8587
provided by Microsoft.NETCoreSdk.BundledVersions.props -->

0 commit comments

Comments
 (0)