修复.NET Framework发布配置问题
移除不兼容的PublishSingleFile配置: - .NET Framework 4.8不支持PublishSingleFile - 移除IncludeNativeLibrariesForSelfExtract(Core功能) - 保留SelfContained和PublishReadyToRun 现在使用命令:dotnet publish -c Release -r win-x64 --self-contained 生成的会是包含多个文件的发布文件夹,用户可以直接运行主exe 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
276f277310
commit
3696e4255a
@ -11,9 +11,7 @@
|
|||||||
|
|
||||||
<!-- 自包含发布配置 -->
|
<!-- 自包含发布配置 -->
|
||||||
<SelfContained>true</SelfContained>
|
<SelfContained>true</SelfContained>
|
||||||
<PublishSingleFile>true</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>true</PublishReadyToRun>
|
<PublishReadyToRun>true</PublishReadyToRun>
|
||||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user