summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2018-08-31 11:10:44 -0400
committerOren Novotny <oren@novotny.org>2018-08-31 11:10:44 -0400
commitc862608c434546c1c0cd021294288dab7fc744b8 (patch)
treeaf3193842196e04a44a9998cbccbcd87a35f9b17 /crypto/src
parentUse latest tet sdk (diff)
downloadBouncyCastle.NET-ed25519-c862608c434546c1c0cd021294288dab7fc744b8.tar.xz
Add version override logic
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto.csproj8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/src/crypto.csproj b/crypto/src/crypto.csproj
index f16bf39c5..b5d250cf9 100644
--- a/crypto/src/crypto.csproj
+++ b/crypto/src/crypto.csproj
@@ -48,6 +48,14 @@
       <NuGetPackageVersion>$(BuildVersion)</NuGetPackageVersion>
       <AssemblyVersion>$(BuildVersionSimple)</AssemblyVersion>
     </PropertyGroup>
+
+    <PropertyGroup Condition="'$(IsMatchingBase)' == 'true'">
+      <PackageVersion>$(BuildVersionSimple)</PackageVersion>
+      <Version>$(BuildVersionSimple)</Version>
+      <PackageVersion>$(BuildVersionSimple)</PackageVersion>
+      <NuGetPackageVersion>$(BuildVersionSimple)</NuGetPackageVersion>
+      <AssemblyVersion>$(BuildVersionSimple)</AssemblyVersion>
+    </PropertyGroup>
   </Target>
   
   <Target Name="AddCommitHashToAssemblyAttributes" BeforeTargets="GetAssemblyAttributes">