Repository navigation
Add compatibility suppressions for NameOutput rename in Azure.Network - #16022
Merged
Merged
Conversation
The NameOutput property was renamed to NameOutputReference in microsoft#16004, and the baseline version was bumped in microsoft#16008. Add CP0002 suppressions for the removed NameOutput getters on the 5 affected network resources. Co-authored-by: Copilot <[email protected]>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16022Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16022" |
Eric Erhardt (eerhardt)
requested a review
from Karol Zadora-Przylecki (karolz-ms)
April 10, 2026 01:22
Eric Erhardt (eerhardt)
enabled auto-merge (squash)
April 10, 2026 01:24
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a package validation suppression file for Aspire.Hosting.Azure.Network to silence CP0002 compatibility diagnostics triggered by the earlier NameOutput → NameOutputReference rename after the baseline version bump.
Changes:
- Introduces
CompatibilitySuppressions.xmlinAspire.Hosting.Azure.Network. - Suppresses CP0002 for the removed
get_NameOutputaccessor on the affected public resource types.
Karol Zadora-Przylecki (karolz-ms)
approved these changes
Apr 10, 2026
Eric Erhardt (eerhardt)
merged commit Apr 10, 2026
ff28eba
into
microsoft:main
526 of 532 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
CompatibilitySuppressions.xmlforAspire.Hosting.Azure.Networkto suppress CP0002 package validation diagnostics caused by theNameOutput→NameOutputReferencerename in #16004, after the baseline version was bumped in #16008.The following resources have suppressions for the removed
NameOutputgetter:AzureNatGatewayResourceAzureNetworkSecurityGroupResourceAzurePrivateEndpointResourceAzurePublicIPAddressResourceAzureVirtualNetworkResourceThis is acceptable because this library is still Experimental.
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: