<MajorVersion>2</MajorVersion>
<MinorVersion>1</MinorVersion>
<PatchVersion>0</PatchVersion>
+
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
+
<PreReleaseLabel Condition="'$(PackageVersionStamp)' != ''">$(PackageVersionStamp)</PreReleaseLabel>
<PreReleaseLabel Condition="'$(PreReleaseLabel)' == ''">preview2</PreReleaseLabel>
+ <IncludePreReleaseLabelInPackageVersion Condition="'$(StabilizePackageVersion)' != 'true' or '$(PackageVersionStamp)' != ''">true</IncludePreReleaseLabelInPackageVersion>
+ <IncludeBuildNumberInPackageVersion Condition="'$(StabilizePackageVersion)' != 'true'">true</IncludeBuildNumberInPackageVersion>
+
<ReleaseSuffix>$(PreReleaseLabel)</ReleaseSuffix>
<ReleaseBrandSuffix>Preview 2</ReleaseBrandSuffix>
<Channel>master</Channel>
If we are stabilizing set the StableVersion property for the packages.
Needs to happen in dir.targets to allow all the pkgproj's to set Version property first.
-->
- <StableVersion Condition="'$(StabilizePackageVersion)' =='true'">$(Version)</StableVersion>
+ <StableVersion Condition="'$(IncludePreReleaseLabelInPackageVersion)' != 'true'">$(Version)</StableVersion>
</PropertyGroup>
<!--