From 90f12498bb2625b399bdb0306db49283873d3421 Mon Sep 17 00:00:00 2001 From: sth4nothing <892223922@qq.com> Date: Fri, 23 Nov 2018 18:30:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B9=8B=E5=89=8D=E7=9A=84dl?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DynamicExecutor/Main.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DynamicExecutor/Main.cs b/DynamicExecutor/Main.cs index 4c8d373..6eaaed5 100644 --- a/DynamicExecutor/Main.cs +++ b/DynamicExecutor/Main.cs @@ -134,6 +134,10 @@ public static void Execute() return; } } + if (File.Exists(Path.Combine(rootPath, $"Execute{count}.dll"))) + { + File.Delete(Path.Combine(rootPath, $"Execute{count}.dll")); + } running = true;