summaryrefslogtreecommitdiff
path: root/dir.props
diff options
context:
space:
mode:
authorGaurav Khanna <gkhanna@microsoft.com>2016-09-27 11:32:36 -0700
committerGaurav Khanna <gkhanna@microsoft.com>2016-09-27 11:32:36 -0700
commit21ff2ecb4ef0b5b3f3e17699a574b5170466920a (patch)
treebe73a4c00fc30a8630538ecd3b3dc212798bfbd2 /dir.props
parent99063b3faf9653ab2433386b04caed5c13bca52c (diff)
downloadcoreclr-21ff2ecb4ef0b5b3f3e17699a574b5170466920a.tar.gz
coreclr-21ff2ecb4ef0b5b3f3e17699a574b5170466920a.tar.bz2
coreclr-21ff2ecb4ef0b5b3f3e17699a574b5170466920a.zip
Centralize versioning and stabilization of nuget packages.
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props7
1 files changed, 7 insertions, 0 deletions
diff --git a/dir.props b/dir.props
index cf42c794e1..8f906d0215 100644
--- a/dir.props
+++ b/dir.props
@@ -152,6 +152,13 @@
<ProjectUrl>https://dot.net</ProjectUrl>
+ <!-- Central place to set the versions of all nuget packages produced in the repo -->
+ <PackageVersion Condition="'$(PackageVersion)' == ''">1.2.0</PackageVersion>
+
+ <!-- Set the boolean below to true to generate packages with stabilized versions -->
+ <StabilizePackageVersion>false</StabilizePackageVersion>
+ <StableVersion Condition="'$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(PackageVersion)</StableVersion>
+
<!-- On Windows, MSbuild still runs against Desktop FX while it runs on .NET Core on non-Windows. this requires
pulling in different packaging dependencies.
-->