diff --git a/cli/cppcheck.vcproj b/cli/cppcheck.vcproj
index eb5b71f67..112d6bdcf 100755
--- a/cli/cppcheck.vcproj
+++ b/cli/cppcheck.vcproj
@@ -278,8 +278,6 @@
RelativePath="pathmatch.h" />
-
+
+ RelativePath="temp\version.res" />
+ RelativePath="version.rc" />
diff --git a/test/testrunner.vcproj b/test/testrunner.vcproj
index 8b3959877..d2064cb27 100644
--- a/test/testrunner.vcproj
+++ b/test/testrunner.vcproj
@@ -115,7 +115,7 @@
Name="VCPreLinkEventTool" />
+ PreprocessorDefinitions="_CONSOLE,UNICODE,WIN32,QT_LARGEFILE_SUPPORT,_CRT_SECURE_NO_WARNINGS,NDEBUG" />
@@ -223,8 +223,12 @@
RelativePath="testfilelister.cpp" />
+
+
+