diff --git a/Directory.Build.targets b/Directory.Build.targets index f4a55905d..11c967860 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -19,31 +19,31 @@ true $(GitRevisionShort) $(GitRevisionShort)-Dirty + + GIT_REVISION=$(GitRevision); + GIT_REVISION_SHORT=$(GitRevisionShort); + VERSION_BUILD=$(GitRevisionCount); + VERSION_BUILD_YEAR=$([System.DateTime]::Now.ToString(`yyyy`)) + - + %(PreprocessorDefinitions); - GIT_REVISION=$(GitRevision); - GIT_REVISION_SHORT=$(GitRevisionShort); - VERSION_BUILD=$(GitRevisionCount); - VERSION_BUILD_YEAR=$([System.DateTime]::Now.ToString(`yyyy`)) + $(GitPreprocessorDefinitions) %(PreprocessorDefinitions); - GIT_REVISION=$(GitRevision); - GIT_REVISION_SHORT=$(GitRevisionShort); - VERSION_BUILD=$(GitRevisionCount); - VERSION_BUILD_YEAR=$([System.DateTime]::Now.ToString(`yyyy`)) + $(GitPreprocessorDefinitions)