From 371cc657fa396fbcd713f14c2b8b1d5fc33ba31d Mon Sep 17 00:00:00 2001 From: Vatsan Madhavan Date: Wed, 31 Jul 2019 17:07:34 -0700 Subject: [PATCH] Add Commit Sha and Repo Url to Native Assemblies (#1493) --- eng/WpfArcadeSdk/tools/Wpf.Cpp.targets | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets b/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets index f14aa74b1..62e2d5539 100644 --- a/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets +++ b/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets @@ -2,6 +2,7 @@ $(IntermediateOutputPath)NativeVersion.rc $([System.IO.Path]::GetDirectoryName($(NativeVersionFile))) + $(IntermediateOutputPath)ExtendedNativeVersion.rc @@ -52,6 +53,55 @@ + + + + + <_WindowsFileVersion>$(FileVersion.Replace('.', ',')) + <_SourceBuildInfo> %40Commit: $(SourceRevisionId) + + <_ExtendedNativeVersionFileContents> + + + + + + <_ExtendenNativeVersionFileLines Include="$(_ExtendedNativeVersionFileContents)" /> + + + + + + + + + +