Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions dir.targets
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
</BinPlaceConfiguration>
</ItemGroup>

<PropertyGroup Condition="'$(BlockStable)' == 'true'">
<!--
If BlockStable is set to true then always include the label and build number in the package version.
This needs to be set before we import packaging.targets which comes in the Build.Common.targets.
-->
<IncludePreReleaseLabelInPackageVersion>true</IncludePreReleaseLabelInPackageVersion>
<IncludeBuildNumberInPackageVersion>true</IncludeBuildNumberInPackageVersion>
</PropertyGroup>

<Import Project="$(ToolsDir)/Build.Common.targets" Condition="Exists('$(ToolsDir)/Build.Common.targets')" />

<!-- permit a wrapping build system to contribute targets to this build -->
Expand Down