diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.ProjectItems.xml b/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.ProjectItems.xml
new file mode 100644
index 000000000..d3af2bd14
--- /dev/null
+++ b/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.ProjectItems.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.targets b/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.targets
new file mode 100644
index 000000000..e23b10d78
--- /dev/null
+++ b/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.targets
@@ -0,0 +1,75 @@
+
+
+
+
+ $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\TortoiseSVN@Directory)
+ $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TortoiseSVN@Directory)
+ $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SubWCRev.exe)
+ $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths\SubWCRev.exe)
+ $(TSVNDir)\bin\SubWCRev.exe
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SubWCRev
+
+
+
+
\ No newline at end of file
diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.xml b/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.xml
new file mode 100644
index 000000000..85c164f38
--- /dev/null
+++ b/aegisub/build/msbuild/Aegisub/Aegisub.SubWCRev.xml
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj b/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj
index 6edea17c4..11cf9f5c7 100644
--- a/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj
+++ b/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj
@@ -35,16 +35,15 @@
+
aegisub$(AegisubPlatformSuffix)
+
+
__STDC_FORMAT_MACROS;%(PreprocessorDefinitions)
-
-
-
-
$(SrcDir);
$(SrcDir)include\;
@@ -78,8 +77,16 @@
%(AdditionalDependencies)
+
+ $(AegisubSourceBase)build\svn-revision-base.h
+ $(AegisubSourceBase)build\svn-revision.h
+ $(AegisubSourceBase)\.
+
-
+
+
+
+