chore: 非生产环境 App、Database 配置折叠显示,不发布

This commit is contained in:
写意 2025-03-27 22:38:48 +08:00
parent 3412dd0193
commit 378a41914c

View File

@ -17,6 +17,20 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Remove="Configuration\App.*.json"/>
<Content Include="Configuration\App.*.json">
<DependentUpon>App.json</DependentUpon>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
</Content>
<Content Remove="Configuration\Database.*.json"/>
<Content Include="Configuration\Database.*.json">
<DependentUpon>Database.json</DependentUpon>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
</Content>
<Content Include="wwwroot\**\*">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>