$(PrepareForBuildDependsOn); __SetVersionResource <_ResourceFileType Condition=" '$(ConfigurationType)'=='Application' ">VFT_APP <_ResourceFileType Condition=" '$(ConfigurationType)'=='DynamicLibrary' ">VFT_DLL $(TargetName) $(Description) %(PreprocessorDefinitions); GITVER_FILEVER=$(FileVersion.Replace('.', ',')); GITVER_PRODUCTVER=$(AssemblyVersion.Replace('.', ',')); GITVER_FILE_VERSION=$(FileVersion); GITVER_PRODUCT_VERSION=$(AssemblyVersion); GITVER_FILE_TYPE=$(_ResourceFileType); GITVER_CODEPAGE=0; GITVER_LCID=$([System.Convert]::ToInt32('%(Culture)', 16)); GITVER_VERSION_BLOCK=$([System.Convert]::ToString($([MSBuild]::Multiply($([System.Convert]::ToUint64('%(Culture)', 16)), 65536)), 16).PadLeft(8, '0')); GITVER_COMPANY=$(Company); GITVER_COPYRIGHT=$(Copyright); GITVER_TITLE=$(Title); GITVER_PRODUCT=$(Product); GITVER_INFORMATIONAL_VERSION=$(InformationalVersion); GITVER_INTERNAL_NAME=$(TargetName); GITVER_FILE_NAME=$(TargetFileName); $(AfterLinkTargets); PublicizeNativePdb;