Skip to content

Commit 63c73b0

Browse files
hgj52claude
andcommitted
Install the SDK global.json pins before building.
The rebase onto upstream brought upstream's global.json, which pins SDK 10.0.400 with rollForward latestMajor. That version was released on 2026-08-11 and the hosted windows-latest image still tops out at 10.0.302, and rollForward only rolls forward, so SDK resolution failed before the build started - build 1.0.22 reported exit code 2147516571 and "the following projects : [ '' ]" because dotnet never loaded a project. Installing the pinned SDK in the pipeline keeps global.json byte identical to upstream, so the merge surface stays at zero. azure-pipelines.yml is ours alone, so changes here cost nothing when merging from VahidN. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 21ddebb commit 63c73b0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

azure-pipelines.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ variables:
1414
minor: 0
1515
name: $(major).$(minor).$(Rev:r)
1616
steps:
17+
# The project targets net10.0 and global.json pins the SDK exactly, matching upstream.
18+
# Hosted images lag SDK releases by weeks, so install the pinned version rather than
19+
# relaxing global.json - that keeps the source identical to VahidN/iTextSharp.LGPLv2.Core
20+
# and leaves the merge surface at zero.
21+
- task: UseDotNet@2
22+
displayName: Install the SDK global.json asks for
23+
inputs:
24+
packageType: 'sdk'
25+
useGlobalJson: true
1726
- task: DotNetCoreCLI@2
1827
displayName: Build
1928
inputs:

0 commit comments

Comments
 (0)