diff --git a/renderdoc/api/replay/version.cpp b/renderdoc/api/replay/version.cpp
index 70de3779a..6ca720819 100644
--- a/renderdoc/api/replay/version.cpp
+++ b/renderdoc/api/replay/version.cpp
@@ -38,4 +38,8 @@
// Note the hash should be precisely 40 characters, as comes from git rev-parse.
extern "C" const char GitVersionHash[41] = GIT_COMMIT_HASH;
-#pragma comment(linker, "/include:GitVersionHash")
\ No newline at end of file
+#if defined(WIN64)
+#pragma comment(linker, "/include:GitVersionHash")
+#elif defined(WIN32)
+#pragma comment(linker, "/include:_GitVersionHash")
+#endif
\ No newline at end of file
diff --git a/renderdoc/renderdoc_version.vcxproj b/renderdoc/renderdoc_version.vcxproj
index 5f7502423..a883e71eb 100644
--- a/renderdoc/renderdoc_version.vcxproj
+++ b/renderdoc/renderdoc_version.vcxproj
@@ -36,6 +36,16 @@
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(ExecutablePath)
+ $(SolutionDir)\breakpad;$(IncludePath)
+ $(LibraryPath)
+ $(ExcludePath)
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\
+
Level3
@@ -45,6 +55,11 @@
Windows
+
+
+ WIN64;%(PreprocessorDefinitions)
+
+