不发布appsettings.json配置文件

This commit is contained in:
falcon 2020-06-23 18:32:01 +08:00
parent 695c406f02
commit 8be45247a9

View File

@ -21,4 +21,10 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.4" />
<PackageReference Include="NLog.Web.AspNetCore" Version="4.9.1" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>