From 9d2da898b6514b9276a3049d5b8aab7fbd0d9940 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Tue, 1 Apr 2025 18:48:14 +0200 Subject: [PATCH] Add conditional assembly reference for release builds in PluginFactory --- .../Tools/PluginSystem/PluginFactory.Internal.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Internal.cs b/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Internal.cs index 272d5af3..2c14adb6 100644 --- a/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Internal.cs +++ b/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Internal.cs @@ -1,5 +1,9 @@ using Microsoft.Extensions.FileProviders; +#if RELEASE +using System.Reflection; +#endif + namespace AIStudio.Tools.PluginSystem; public static partial class PluginFactory