diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj
index dd64cfd..bbeb004 100644
--- a/AIMS/AIMS.csproj
+++ b/AIMS/AIMS.csproj
@@ -147,7 +147,7 @@
- 1.0.0
+ 1.0.0.1
5.7.0
diff --git a/AIMS/Program.cs b/AIMS/Program.cs
index 25c33db..9f96d68 100644
--- a/AIMS/Program.cs
+++ b/AIMS/Program.cs
@@ -14,6 +14,7 @@ using System.Xml.Linq;
using CCIS.Shared;
using Serilog;
using Serilog.Core;
+using Microsoft.Extensions.DependencyInjection;
namespace AIMS
{
@@ -37,6 +38,8 @@ namespace AIMS
Log.Information("Hello, {Name}!", Environment.UserName);
SharedContext.CreateDefault(args);
Log.Information("Initialising.");
+ var cleanrService = SharedContext.StaticInstance.ServiceProvider.GetService();
+ cleanrService?.ClearAsync();
MainStart(args);
Log.Information("Finsh.");
}
diff --git a/AIMS/appsettings.json b/AIMS/appsettings.json
index f070f8d..bf744f9 100644
--- a/AIMS/appsettings.json
+++ b/AIMS/appsettings.json
@@ -1,6 +1,12 @@
{
+ "ApplicationConfig": {
+ "ClearConfig": {
+ "EnableClear": true,
+ "StartupDeletePattern": "*.dll"
+ }
+ },
"Serilog": {
- "Using": [
+ "Using": [
//"Serilog.Sinks.Console",
//"Serilog.Sinks.Debug",
"Serilog.Sinks.Seq",
diff --git a/AIMSExtension/AIMSExtension.csproj b/AIMSExtension/AIMSExtension.csproj
index a0a2b78..4ba431b 100644
--- a/AIMSExtension/AIMSExtension.csproj
+++ b/AIMSExtension/AIMSExtension.csproj
@@ -109,7 +109,7 @@
- 1.0.0
+ 1.0.0.1
13.0.3