diff --git a/projectfiles/VC12/wesnoth.vcxproj b/projectfiles/VC12/wesnoth.vcxproj
index 0ed14e87023e..c2b781a99ae3 100644
--- a/projectfiles/VC12/wesnoth.vcxproj
+++ b/projectfiles/VC12/wesnoth.vcxproj
@@ -2191,6 +2191,14 @@
$(IntDir)Gui\Dialogs\
$(IntDir)Gui\Dialogs\
+
+ $(IntDir)Gui\Dialogs\
+ $(IntDir)Gui\Dialogs\
+ $(IntDir)Gui\Dialogs\
+ $(IntDir)Gui\Dialogs\
+ $(IntDir)Gui\Dialogs\
+ $(IntDir)Gui\Dialogs\
+
$(IntDir)Gui\Dialogs\
$(IntDir)Gui\Dialogs\
@@ -3061,7 +3069,6 @@
-
$(IntDir)Storyscreen\
$(IntDir)Storyscreen\
@@ -4160,6 +4167,7 @@
+
@@ -4332,7 +4340,6 @@
-
diff --git a/projectfiles/VC12/wesnoth.vcxproj.filters b/projectfiles/VC12/wesnoth.vcxproj.filters
index 9cc07da4009b..8ee017ea5c75 100644
--- a/projectfiles/VC12/wesnoth.vcxproj.filters
+++ b/projectfiles/VC12/wesnoth.vcxproj.filters
@@ -638,6 +638,9 @@
Gui\Dialogs
+
+ Gui\Dialogs
+
Gui\Dialogs
@@ -1469,7 +1472,6 @@
-
@@ -2013,6 +2015,9 @@
Gui\Dialogs
+
+ Gui\Dialogs
+
Gui\Dialogs
@@ -2853,7 +2858,6 @@
-