Skip to content

Commit 5555202

Browse files
authored
Remove AspNET substraction logic (#44995)
2 parents 43a950d + 612c99f commit 5555202

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

eng/Versions.props

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,6 @@
4040
referenced by the same 7.0 SDK that references the 7.0.VersionFeature70 runtime pack. -->
4141
<_NET70ILLinkPackVersion>7.0.100-1.23211.1</_NET70ILLinkPackVersion>
4242
</PropertyGroup>
43-
<PropertyGroup Label="AspNetCore template versioning">
44-
<!-- Automated versions for asp.net templates -->
45-
<MicrosoftNETSdkPatchVersion>$(VersionFeature)</MicrosoftNETSdkPatchVersion>
46-
<!--
47-
Between branding and shipping, the templates should stay at last month's version.
48-
If the incoming SDK version is 2 versions behind us, we know we just branded but haven't done the internal -> public merge yet.
49-
Therefore we stay at last month's version.
50-
We also need to special case the 1st patch release, because the incoming SDK version will never be 2 versions behind us in that case.
51-
Instead the indicator is that the incoming SDK version is not RTM or greater yet.
52-
Preview releases already use -1 versionining so don't subtract one for that version.
53-
In public builds, we always use the 2 month old version.
54-
-->
55-
<SubtractOneFromTemplateVersions Condition="'$(SYSTEM_TEAMPROJECT)' != 'internal'">true</SubtractOneFromTemplateVersions>
56-
<SubtractOneFromTemplateVersions Condition="$([MSBuild]::Subtract($(VersionFeature), $(MicrosoftNETSdkPatchVersion))) &gt;= 2">true</SubtractOneFromTemplateVersions>
57-
<SubtractOneFromTemplateVersions Condition="$(VersionFeature) &gt;= 1 AND ! $(PreReleaseVersionLabel.Contains('rtm')) AND ! $(PreReleaseVersionLabel.Contains('servicing'))">true</SubtractOneFromTemplateVersions>
58-
</PropertyGroup>
5943
<PropertyGroup Label="Restore feeds">
6044
<!-- In an orchestrated build, this may be overridden to other Azure feeds. -->
6145
<DotNetAssetRootUrl Condition="'$(DotNetAssetRootUrl)'==''">https://dotnetbuilds.blob.core.windows.net/public/</DotNetAssetRootUrl>

0 commit comments

Comments
 (0)