Skip to content

Fix mgmt library regeneration in Submit-AzureSdkForNetPr.ps1#11319

Open
jorgerangel-msft with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-regeneration-pipeline-issue
Open

Fix mgmt library regeneration in Submit-AzureSdkForNetPr.ps1#11319
jorgerangel-msft with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-regeneration-pipeline-issue

Conversation

Copilot AI commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

The regen preview pipeline aborted mgmt library regeneration with Unbranded package not found: .../csharp-debug-.../typespec-http-client-csharp-<version>.tgz.

Update-MgmtGenerator resolves the unbranded emitter from the debug folder as typespec-http-client-csharp-$LocalVersion.tgz, but Submit-AzureSdkForNetPr.ps1 referenced the unbranded .tgz directly from $BuildArtifactsPath and only staged the .nupkg files and the locally built Azure .tgz into the debug folder — leaving the unbranded package absent from where the mgmt build looks.

Changes

  • Submit-AzureSdkForNetPr.ps1: Copy the unbranded typespec-http-client-csharp-*.tgz from build artifacts into $debugFolder and point $unbrandedPackagePath at that copy, so both the Azure and management plane generators resolve it from the same location.

Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Comment thread packages/http-client-csharp/eng/scripts/Submit-AzureSdkForNetPr.ps1 Outdated
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Jul 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-csharp@11319

commit: 5b2e74a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants