diff --git a/Source/Core/Common/Common.vcproj b/Source/Core/Common/Common.vcproj
index 5bfba22fc7..a3398a1ded 100644
--- a/Source/Core/Common/Common.vcproj
+++ b/Source/Core/Common/Common.vcproj
@@ -29,7 +29,7 @@
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Source/Core/Common/make_svnrev.h.vbs b/Source/Core/Common/make_svnrev.h.vbs
index dee03a7a9a..b547d53615 100644
--- a/Source/Core/Common/make_svnrev.h.vbs
+++ b/Source/Core/Common/make_svnrev.h.vbs
@@ -1,6 +1,7 @@
set wshShell = CreateObject("WScript.Shell")
-outfile = "./Src/svnrev.h"
-svncmd = "SubWCRev ../../.. . /Src/svnrev_template.h " & outfile
+basedir = wscript.arguments(0)
+outfile = basedir & "/Src/svnrev.h"
+svncmd = "SubWCRev ../../.. " & basedir & "/Src/svnrev_template.h " & outfile
svntestcmd = "SubWCRev ../../.."
hgcmd = "hg svn info"
const svn = 0
diff --git a/Source/Core/DolphinWX/DolphinWX.vcproj b/Source/Core/DolphinWX/DolphinWX.vcproj
index d11c530ed6..9b2dc10576 100644
--- a/Source/Core/DolphinWX/DolphinWX.vcproj
+++ b/Source/Core/DolphinWX/DolphinWX.vcproj
@@ -30,7 +30,7 @@
>