Skip to content

Commit e663c88

Browse files
committed
publish: raise dotnet publish verbosity to normal
The default 'minimal' MSBuild verbosity hides the restore, ILC, and native link steps, which made failures like the Windows arm64 "platform linker not found" error hard to diagnose from the pipeline logs alone. Pass -v:normal to dotnet publish in each platform's publish script (Windows, macOS, Linux, and the .NET tool) so the full toolchain discovery and link output is captured in CI. Assisted-by: Claude Opus 4.8 Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
1 parent 8a40722 commit e663c88

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

build/dntool/publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ verbose "output dir: $OUTDIR"
8686
# No runtime identifier is specified, so the output is portable (tools/<tfm>/any).
8787
info "Publishing .NET tool application..."
8888
dotnet publish "$GCM_SRC" \
89+
-v:normal \
8990
--configuration="$CONFIGURATION" \
9091
--framework net10.0 \
9192
--output "$OUTDIR" \

build/linux/publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ fi
112112
info "Publishing application..."
113113
# shellcheck disable=SC2086 # AOT_ARGS is intentionally word-split (0 or 2 args).
114114
dotnet publish "$GCM_SRC" \
115+
-v:normal \
115116
--configuration="$CONFIGURATION" \
116117
--runtime="$RUNTIME" \
117118
--output "$OUTDIR" \

build/macos/publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ fi
112112
info "Publishing application..."
113113
# shellcheck disable=SC2086 # AOT_ARGS is intentionally word-split (0 or 2 args).
114114
dotnet publish "$GCM_SRC" \
115+
-v:normal \
115116
--configuration="$CONFIGURATION" \
116117
--runtime="$RUNTIME" \
117118
--output "$OUTDIR" \

build/windows/publish.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ if (-not $Aot) {
7777
# Publish the application to the resolved output directory.
7878
Write-Information "Publishing application..."
7979
dotnet publish "$GcmSrc" `
80+
-v:normal `
8081
--configuration $Configuration `
8182
--runtime $Runtime `
8283
--output $OutDir `

0 commit comments

Comments
 (0)