From 766c84a2e0aeeb89d2c9fadb27a0e2ea856256f4 Mon Sep 17 00:00:00 2001 From: zqm Date: Sun, 4 Jan 2026 15:25:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA=E8=B0=83=E8=AF=95=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Windows/CS/Framework4.0/Toprie/publish-nuget.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/CS/Framework4.0/Toprie/publish-nuget.ps1 b/Windows/CS/Framework4.0/Toprie/publish-nuget.ps1 index 802a080..e5be191 100644 --- a/Windows/CS/Framework4.0/Toprie/publish-nuget.ps1 +++ b/Windows/CS/Framework4.0/Toprie/publish-nuget.ps1 @@ -73,7 +73,7 @@ if (Test-Path "$output\$packageId.nuspec") { Remove-Item -Path "$output\$package # 构建项目(确保生成pdb和xml文件) Write-Host "1. 正在构建项目..." Write-Host "当前目录: $scriptDir" -dotnet build "$scriptDir\Toprie\Toprie.csproj" -c Release -o "$output" /p:DebugSymbols=true /p:DebugType=full /p:DocumentationFile=JoyD.Windows.CS.Toprie.xml +dotnet build "$scriptDir\Toprie\Toprie.csproj" -c Debug -o "$output" /p:DebugSymbols=true /p:DebugType=full /p:DocumentationFile=JoyD.Windows.CS.Toprie.xml if ($LASTEXITCODE -ne 0) { Write-Host "错误: 构建失败!" -ForegroundColor Red