diff --git a/src/MaaWpfGui/MaaWpfGui.csproj b/src/MaaWpfGui/MaaWpfGui.csproj
index c90b55237b..c430e53607 100644
--- a/src/MaaWpfGui/MaaWpfGui.csproj
+++ b/src/MaaWpfGui/MaaWpfGui.csproj
@@ -43,6 +43,14 @@
+
+
+ MSBuild:Compile
+ Designer
+ true
+
+
+
True
diff --git a/src/MaaWpfGui/Properties/DesignTimeResources.xaml b/src/MaaWpfGui/Properties/DesignTimeResources.xaml
new file mode 100644
index 0000000000..7023ccea42
--- /dev/null
+++ b/src/MaaWpfGui/Properties/DesignTimeResources.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+