From 7c5327b618d9998d9dfe371737126b312b09c370 Mon Sep 17 00:00:00 2001 From: Zaafar Ahmed Date: Mon, 21 Jan 2019 20:28:23 -0500 Subject: [PATCH] minor hack in order to force copy NativeLibraryLoader dll --- ClickableTransparentOverlay/ImGuiController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ClickableTransparentOverlay/ImGuiController.cs b/ClickableTransparentOverlay/ImGuiController.cs index cbc600d..d68fddc 100644 --- a/ClickableTransparentOverlay/ImGuiController.cs +++ b/ClickableTransparentOverlay/ImGuiController.cs @@ -8,6 +8,7 @@ using Veldrid; using System.Runtime.CompilerServices; using ImGuiNET; + using NativeLibraryLoader; /// /// A modified version of ImGui.NET.SampleProgram's ImGuiController. @@ -47,6 +48,10 @@ private readonly List _ownedResources = new List(); private int _lastAssignedID = 100; +#pragma warning disable CS0169 // Force Copy this DLL + private static DefaultPathResolver ___; +#pragma warning restore CS0169 + /// /// Constructs a new ImGuiController. ///