From 9c96a102955dd593f1b98354c1f3532ce1c8dad4 Mon Sep 17 00:00:00 2001 From: yuuko Date: Mon, 24 Nov 2025 16:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=BASelf-contained?= =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加自包含发布配置,生成独立可执行文件: - SelfContained=true:包含.NET Framework运行时 - PublishSingleFile=true:生成单个exe文件 - PublishReadyToRun=true:预编译优化 - IncludeNativeLibrariesForSelfExtract=true:包含自解压库 - RuntimeIdentifier=win-x64:针对64位Windows 这样生成的exe文件约60-100MB,可在任何Windows系统上运行,无需预装.NET Framework 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- SlideCombine.csproj | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SlideCombine.csproj b/SlideCombine.csproj index a9716a1..a4d3b72 100644 --- a/SlideCombine.csproj +++ b/SlideCombine.csproj @@ -8,6 +8,13 @@ SlideCombine app.ico + + + true + true + true + true + win-x64