diff --git a/build/Aegisub/Aegisub.vcxproj b/build/Aegisub/Aegisub.vcxproj
index c0e935cef..1474ef17b 100644
--- a/build/Aegisub/Aegisub.vcxproj
+++ b/build/Aegisub/Aegisub.vcxproj
@@ -26,6 +26,10 @@
agi_pre.h
/Zm150 %(AdditionalOptions)
+
+ $(DXSDK_DIR)\Lib\x86
+ $(DXSDK_DIR)\Lib\x64
+