添加Nlog服务

This commit is contained in:
2025-09-04 14:46:50 +08:00
parent bc8bc58d9b
commit 653a1d8749
9 changed files with 399 additions and 38 deletions

View File

@@ -6,16 +6,9 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Update="Configurations\nlog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.5" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="6.0.0" />
<PackageReference Include="NLog.Database" Version="6.0.0" />