зеркало из https://github.com/dotnet/aspnetcore.git
58 строки
4.0 KiB
XML
58 строки
4.0 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<AspNetCoreMajorVersion>2</AspNetCoreMajorVersion>
|
|
<AspNetCoreMinorVersion>2</AspNetCoreMinorVersion>
|
|
<AspNetCorePatchVersion>5</AspNetCorePatchVersion>
|
|
<PreReleaseLabel>servicing</PreReleaseLabel>
|
|
<PreReleaseBrandingLabel></PreReleaseBrandingLabel>
|
|
<BuildNumber Condition="'$(BuildNumber)' == '' OR '$(UsingLocalBuildNumber)' == 'true'">$([System.DateTime]::Now.ToString('yyMMdd'))-99</BuildNumber>
|
|
<VersionPrefix>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion)</VersionPrefix>
|
|
|
|
<ExperimentalVersionPrefix>0.2.$(AspNetCorePatchVersion)</ExperimentalVersionPrefix>
|
|
<AspNetCoreMinorVersion Condition="'$(BuildServerIIS21)' == 'true'">1</AspNetCoreMinorVersion>
|
|
|
|
<!-- ANCM versioning is intentionally 10 + AspNetCoreMajorVersion because earlier versions of ANCM shipped as 8.x. -->
|
|
<AspNetCoreModuleVersionMajor>1$(AspNetCoreMajorVersion)</AspNetCoreModuleVersionMajor>
|
|
<AspNetCoreModuleVersionMinor>$(AspNetCoreMinorVersion)</AspNetCoreModuleVersionMinor>
|
|
<AspNetCoreModuleVersionRevision>$(AspNetCorePatchVersion)</AspNetCoreModuleVersionRevision>
|
|
|
|
<VersionSuffix>$(PreReleaseLabel)-$(BuildNumber)</VersionSuffix>
|
|
<BrandingVersionSuffix>$(PreReleaseBrandingLabel) Build $(BuildNumber)</BrandingVersionSuffix>
|
|
|
|
<!-- Servicing builds have different characteristics for the way dependencies, baselines, and versions are handled. -->
|
|
<IsServicingBuild Condition=" '$(PreReleaseLabel)' == 'servicing' ">true</IsServicingBuild>
|
|
<!-- Run the build with /p:IsFinalBuild=true to produce the product with 'final' branding and versioning -->
|
|
<IsFinalBuild Condition=" '$(IsFinalBuild)' == '' ">false</IsFinalBuild>
|
|
<IncludePreReleaseLabelInPackageVersion>true</IncludePreReleaseLabelInPackageVersion>
|
|
<IncludePreReleaseLabelInPackageVersion Condition=" '$(IsFinalBuild)' == 'true' AND ('$(PreReleaseLabel)' == 'servicing' OR '$(PreReleaseLabel)' == 'rtm')">false</IncludePreReleaseLabelInPackageVersion>
|
|
|
|
<!-- The 'human friendly' version to display in installers. In pre-release builds, this might be "2.0.7 Preview 2 Build 12356". In final builds, it should be "2.0.7" -->
|
|
<PackageBrandingVersion>$(VersionPrefix)</PackageBrandingVersion>
|
|
<PackageBrandingVersion Condition=" '$(IncludePreReleaseLabelInPackageVersion)' == 'true' ">$(PackageBrandingVersion) $(BrandingVersionSuffix.Trim())</PackageBrandingVersion>
|
|
|
|
<!-- The version in files -->
|
|
<PackageVersion>$(VersionPrefix)</PackageVersion>
|
|
<PackageVersion Condition=" '$(IncludePreReleaseLabelInPackageVersion)' == 'true' ">$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
|
|
|
|
<SharedFxVersion>$(PackageVersion)</SharedFxVersion>
|
|
|
|
<!-- Experimental packages which are not truly supported yet. -->
|
|
<ExperimentalPackageVersion>$(ExperimentalVersionPrefix)</ExperimentalPackageVersion>
|
|
<ExperimentalPackageVersion Condition=" '$(IncludePreReleaseLabelInPackageVersion)' == 'true' ">$(ExperimentalVersionPrefix)-$(VersionSuffix)</ExperimentalPackageVersion>
|
|
|
|
<SharedFxCliBlobChannel>release/$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</SharedFxCliBlobChannel>
|
|
|
|
<!-- This is used for error checking to ensure generated code and baselines are up to date when we increment the patch. -->
|
|
<PreviousAspNetCoreReleaseVersion Condition=" '$(AspNetCorePatchVersion)' != '0' ">$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$([MSBuild]::Subtract($(AspNetCorePatchVersion), 1))</PreviousAspNetCoreReleaseVersion>
|
|
</PropertyGroup>
|
|
|
|
<!-- Run 'dotnet msbuild version.props' to test changes to this file. -->
|
|
<Target Name="InspectVersionNumbers">
|
|
<Message Importance="High" Text="PackageVersion = '$(PackageVersion)'" />
|
|
<Message Importance="High" Text="PackageBrandingVersion = '$(PackageBrandingVersion)'" />
|
|
<Message Importance="High" Text="ExperimentalPackageVersion = '$(ExperimentalPackageVersion)'" />
|
|
<Message Importance="High" Text="SharedFxCliBlobChannel = '$(SharedFxCliBlobChannel)'" />
|
|
</Target>
|
|
|
|
</Project>
|