优化nlog sql备份文件名格式,ZR.Model引用Infrastructure

This commit is contained in:
YUN-PC5\user 2023-11-23 16:17:19 +08:00
parent bebcf559a1
commit 8ce45c0de5
3 changed files with 5 additions and 2 deletions

View File

@ -47,7 +47,7 @@
<!--SQL文件-->
<target name="sqlfile" xsi:type="File"
fileName="${basedir}/adminlogs/sql.txt"
archiveFileName="${basedir}/adminlogs/bak/sql/sql{###}.txt"
archiveFileName="${basedir}/adminlogs/bak/sql/sql.{###}.txt"
archiveEvery="Day"
archiveNumbering="DateAndSequence"
archiveAboveSize="20000000"

View File

@ -12,4 +12,8 @@
<PackageReference Include="SqlSugarCoreNoDrive" Version="5.1.4.109" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Infrastructure\ZR.Infrastructure.csproj" />
</ItemGroup>
</Project>

View File

@ -5,7 +5,6 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Infrastructure\ZR.Infrastructure.csproj" />
<ProjectReference Include="..\ZR.Model\ZR.Model.csproj" />
</ItemGroup>