diff --git a/Sharphound.csproj b/Sharphound.csproj
index b0a181c..d57b71f 100644
--- a/Sharphound.csproj
+++ b/Sharphound.csproj
@@ -18,16 +18,23 @@
4.6.0
..\SharpHoundCommon\src\CommonLib\bin\$(Configuration)\net472\SharpHoundCommonLib.dll
..\SharpHoundCommon\src\SharpHoundRPC\bin\$(Configuration)\net472\SharpHoundRPC.dll
-
+
+
+ <_StablePatch>$([System.Text.RegularExpressions.Regex]::Match($(CommonLibsStableVersion), '[0-9]+$').Value)
+ <_MajorMinor>$([System.Text.RegularExpressions.Regex]::Match($(CommonLibsStableVersion), '^[0-9]+\.[0-9]+').Value)
+ $(_MajorMinor).$([MSBuild]::Add($(_StablePatch), 1))-dev*
+
Dev
-
+
<_UseLocalLibs Condition="'$(CommonSource.ToLower())' == 'local'">true
<_UseLocalLibs Condition="'$(_UseLocalLibs)' == ''">false
<_CommonLibsVersion Condition="'$(CommonSource.ToLower())' == 'stable'">$(CommonLibsStableVersion)
- <_CommonLibsVersion Condition="'$(_CommonLibsVersion)' == ''">$(CommonLibsStableVersion)-dev*
+ <_CommonLibsVersion Condition="'$(_CommonLibsVersion)' == ''">$(CommonLibsDevVersion)