This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree 1 file changed +14
-4
lines changed
src/Web/Microsoft.NET.Sdk.Web.Targets 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,20 @@ Copyright (c) .NET Foundation. All rights reserved.
36
36
<Choose >
37
37
<When Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" >
38
38
39
- <PropertyGroup >
40
- <!-- These properties will allow the latest patch versions to be set in the CLI (via BundledVersions.props) or overridden by tests -->
41
- <DefaultPatchVersionForAspNetCoreAll2_1 Condition =" '$(DefaultPatchVersionForAspNetCoreAll2_1)' == ''" >2.1.1</DefaultPatchVersionForAspNetCoreAll2_1 >
42
- <DefaultPatchVersionForAspNetCoreApp2_1 Condition =" '$(DefaultPatchVersionForAspNetCoreApp2_1)' == ''" >2.1.1</DefaultPatchVersionForAspNetCoreApp2_1 >
39
+ <!--
40
+ These properties will allow the latest patch versions to be set in the CLI (via BundledVersions.props)
41
+ or overridden by tests. Set the default baseline to ASP.NET Core 2.1.1
42
+ -->
43
+ <PropertyGroup Condition =" '$(DefaultPatchVersionForAspNetCoreAll2_1)' == ''" >
44
+ <DefaultPatchVersionForAspNetCoreAll2_1 >2.1.1</DefaultPatchVersionForAspNetCoreAll2_1 >
45
+ <!-- Check the bundled version. It will start with 2.1.1 until create the final version of the 2.1.1 runtimes.-->
46
+ <DefaultPatchVersionForAspNetCoreAll2_1 Condition =" $(BundledAspNetCoreAllPackageVersion.StartsWith('2.1.1'))" >$(BundledAspNetCoreAllPackageVersion)</DefaultPatchVersionForAspNetCoreAll2_1 >
47
+ </PropertyGroup >
48
+
49
+ <PropertyGroup Condition =" '$(DefaultPatchVersionForAspNetCoreApp2_1)' == ''" >
50
+ <DefaultPatchVersionForAspNetCoreApp2_1 >2.1.1</DefaultPatchVersionForAspNetCoreApp2_1 >
51
+ <!-- Check the bundled version. It will start with 2.1.1 until create the final version of the 2.1.1 runtimes.-->
52
+ <DefaultPatchVersionForAspNetCoreApp2_1 Condition =" $(BundledAspNetCoreAppPackageVersion.StartsWith('2.1.1'))" >$(BundledAspNetCoreAppPackageVersion)</DefaultPatchVersionForAspNetCoreApp2_1 >
43
53
</PropertyGroup >
44
54
45
55
<!-- Default patch version of .All Framework -->
You can’t perform that action at this time.
0 commit comments