输出调试版本
This commit is contained in:
@@ -73,7 +73,7 @@ if (Test-Path "$output\$packageId.nuspec") { Remove-Item -Path "$output\$package
|
|||||||
# 构建项目(确保生成pdb和xml文件)
|
# 构建项目(确保生成pdb和xml文件)
|
||||||
Write-Host "1. 正在构建项目..."
|
Write-Host "1. 正在构建项目..."
|
||||||
Write-Host "当前目录: $scriptDir"
|
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) {
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Write-Host "错误: 构建失败!" -ForegroundColor Red
|
Write-Host "错误: 构建失败!" -ForegroundColor Red
|
||||||
|
|||||||
Reference in New Issue
Block a user