refactor(config): 将 appsettings.json 转为嵌入资源

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Scottxjw
2026-08-17 10:47:00 +08:00
parent 759da546ee
commit 36c21f03dd
3 changed files with 103 additions and 5 deletions

View File

@@ -10,6 +10,10 @@
<LangVersion>12.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="Gpulse.WCT.DataAnalyzer.Tests" />
</ItemGroup>
<ItemGroup>
<!-- CLI -->
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
@@ -36,9 +40,7 @@
</ItemGroup>
<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<EmbeddedResource Include="appsettings.json" />
</ItemGroup>
</Project>