diff --git a/Directory.Build.props b/Directory.Build.props
index 4c315660e6..b9439a50ea 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -49,4 +49,13 @@
$(MSBuildThisFileDirectory)
+
+
+
+
+ <_ProjectReferencesWithVersions Condition="'%(ProjectVersion)' != ''">
+ [%(ProjectVersion), $([MSBuild]::Add($([System.Text.RegularExpressions.Regex]::Match('%(ProjectVersion)', '^\d+').Value), 1)))
+
+
+