From e57938fbda9bff702004038f76d009422968bff5 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 06 十一月 2026 18:05:07 +0800
Subject: [PATCH] 提交代码

---
 DeviceService/AssemblyInfo.cs |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/DeviceService/AssemblyInfo.cs b/DeviceService/AssemblyInfo.cs
new file mode 100644
index 0000000..6997d7d
--- /dev/null
+++ b/DeviceService/AssemblyInfo.cs
@@ -0,0 +1,12 @@
+using log4net.Config;
+using System.Windows;
+
+[assembly:ThemeInfo(
+    ResourceDictionaryLocation.None,            //where theme specific resource dictionaries are located
+                                                //(used if a resource is not found in the page,
+                                                // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly   //where the generic resource dictionary is located
+                                                //(used if a resource is not found in the page,
+                                                // app, or any theme specific resource dictionaries)
+)]
+[assembly: XmlConfigurator(ConfigFile = "Config/log4net.config", Watch = true)]

--
Gitblit v1.9.1