diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index b894e27f83260c..99291ea5a95db6 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -399,8 +399,8 @@
-
-
+
+
$([System.IO.File]::ReadAllText('$(IntDir)gitbranch.txt').Trim())
$([System.IO.File]::ReadAllText('$(IntDir)gitversion.txt').Trim())