Remove legacy Azure.ResourceManager.Resources reference - #20203
Conversation
This library was spilt into separate libraries. We just need to reference Azure.ResourceManager.Resources.Deployments. Follow up to #20046
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20203Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20203" |
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Directory.Packages.props' selects ALL Selection computed for commit |
There was a problem hiding this comment.
🟢 Approval recommended
The changes consistently complete the mechanical package migration without altering behavior.
Pull request overview
Removes the obsolete Azure Resources dependency after deployment APIs moved to their dedicated SDK.
Changes:
- Removes the legacy package reference and centralized version.
- Uses deployment-package extension methods directly.
File summaries
| File | Description |
|---|---|
Directory.Packages.props |
Removes the legacy package version. |
src/Aspire.Hosting.Azure/Aspire.Hosting.Azure.csproj |
Removes the legacy package reference. |
DefaultSubscriptionResource.cs |
Updates subscription deployment lookup. |
DefaultResourceGroupResource.cs |
Updates resource-group deployment lookup. |
DefaultArmClientProvider.cs |
Updates deployment resource and collection lookups. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
✅ No documentation update needed. Step 5 branch taken: Triggered signals: no signals triggered (signal_count == 0; Why this is internal_refactor: All 5 changed files are internal implementation details with no user-facing or public API surface:
The PR body itself states this is a follow-up to #20046 that consolidates a legacy Azure SDK package reference into its successor package — an internal dependency/implementation detail with zero effect on any documented Aspire API, CLI, resource builder method, or configuration surface. Nothing in No |
|
The CI build failed due to test failure(s) that appear unrelated to the PR changes. These may be flaky tests. Suspected flaky test(s):
Suggested actions:
You can re-run the failed jobs from the workflow run page. |
This library was spilt into separate libraries. We just need to reference Azure.ResourceManager.Resources.Deployments.
Follow up to #20046