From d7bb10604f09ef7806b6500a60039796bb1178f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9E=AB=E9=9B=A8?= <737345039@qq.com>
Date: Fri, 12 May 2023 00:08:02 +0800
Subject: [PATCH] fix: XAML Intellisense unable to load resources stored in
ResourceDictionary
---
src/MaaWpfGui/MaaWpfGui.csproj | 8 ++++++++
src/MaaWpfGui/Properties/DesignTimeResources.xaml | 8 ++++++++
2 files changed, 16 insertions(+)
create mode 100644 src/MaaWpfGui/Properties/DesignTimeResources.xaml
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 @@
+
+
+
+
+