发布调整
This commit is contained in:
1 parent
207696d417
commit
33ef90a5cc
2 files changed
+16
-1
No files matched your search
@@ -14,9 +14,11 @@
|
||||
<_ObsoletePluginEntry Include="@(_ObsoletePluginDeps->'%(RootDir)%(Directory)%(EntryName).runtimeconfig.json')" />
|
||||
</ItemGroup>
|
||||
<Delete Files="@(_ObsoletePluginEntry)" />
|
||||
<!-- MAX.Framework 的 Serilog 配置仅由宿主读取,同时清理旧插件部署目录中的副本。 -->
|
||||
<Delete Files="$(PluginDeploymentDirectory)appsettings.Serilog.json" />
|
||||
<ItemGroup>
|
||||
<!-- 保留 runtimes 等子目录,包含入口、deps.json、配置及传递依赖。 -->
|
||||
<_PluginDeploymentFile Include="$(TargetDir)**\*" Exclude="$(TargetDir)publish\**\*" />
|
||||
<_PluginDeploymentFile Include="$(TargetDir)**\*" Exclude="$(TargetDir)publish\**\*;$(TargetDir)appsettings.Serilog.json" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(_PluginDeploymentFile)"
|
||||
DestinationFiles="@(_PluginDeploymentFile->'$(PluginDeploymentDirectory)%(RecursiveDir)%(Filename)%(Extension)')"
|
||||
|
||||
Reference in new issue
Block a user