Merge branch 'master' of https://github.com/AIMSBS/AIMS
This commit is contained in:
commit
6985599614
@ -147,7 +147,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CCIS.Shared">
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Costura.Fody">
|
||||
<Version>5.7.0</Version>
|
||||
|
||||
@ -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<IClearService>();
|
||||
cleanrService?.ClearAsync();
|
||||
MainStart(args);
|
||||
Log.Information("Finsh.");
|
||||
}
|
||||
|
||||
@ -1,6 +1,12 @@
|
||||
{
|
||||
"ApplicationConfig": {
|
||||
"ClearConfig": {
|
||||
"EnableClear": true,
|
||||
"StartupDeletePattern": "*.dll"
|
||||
}
|
||||
},
|
||||
"Serilog": {
|
||||
"Using": [
|
||||
"Using": [
|
||||
//"Serilog.Sinks.Console",
|
||||
//"Serilog.Sinks.Debug",
|
||||
"Serilog.Sinks.Seq",
|
||||
|
||||
@ -109,7 +109,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CCIS.Shared">
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.0.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>13.0.3</Version>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user