Skip to content

[ci-fix-net11] Fixed Build Error in net 11 branch - #37029

Merged
kubaflo merged 1 commit into
dotnet:net11.0from
NafeelaNazhir:net11CIFailures4
Aug 3, 2026
Merged

[ci-fix-net11] Fixed Build Error in net 11 branch#37029
kubaflo merged 1 commit into
dotnet:net11.0from
NafeelaNazhir:net11CIFailures4

Conversation

@NafeelaNazhir

@NafeelaNazhir NafeelaNazhir commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description

This PR resolves a build error on net11.0 caused by duplicate public API entries.

Build Link: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1536553&view=logs&j=a4801b0c-147f-5c8c-962a-741d86502051&t=a2489dc5-c5a7-5201-88b6-5de312b29600

Fix: Removed the 14 duplicate lines from:

  • src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
  • src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt

No functional or API changes — just removes the duplicates so the build passes again.

#35846 - This PR introduced the unwanted changes

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 37029

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 37029"

@azure-pipelines

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

@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label Aug 3, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @@NafeelaNazhir! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Aug 3, 2026
@github-actions github-actions Bot added area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions platform/ios platform/macos macOS / Mac Catalyst labels Aug 3, 2026
@vishnumenon2684

Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests , maui-pr-devicetests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@sheiksyedm
sheiksyedm marked this pull request as ready for review August 3, 2026 11:58
Copilot AI review requested due to automatic review settings August 3, 2026 11:58
@azure-pipelines

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a net11.0 build break by removing duplicate entries from the iOS and MacCatalyst PublicAPI.Unshipped.txt baselines, so PublicAPI validation no longer reports duplicate definitions.

Changes:

  • Removed a duplicated block of 14 PublicAPI entries from the MacCatalyst Unshipped file.
  • Removed the same duplicated block of 14 PublicAPI entries from the iOS Unshipped file.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt Removes duplicate PublicAPI lines while preserving a single canonical set of the same API entries elsewhere in the file.
src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt Removes duplicate PublicAPI lines while preserving a single canonical set of the same API entries elsewhere in the file.

@kubaflo
kubaflo merged commit ad572cb into dotnet:net11.0 Aug 3, 2026
117 of 143 checks passed
@github-actions github-actions Bot added this to the .NET 11.0-preview7 milestone Aug 3, 2026
Vignesh-SF3580 pushed a commit to Vignesh-SF3580/maui that referenced this pull request Aug 10, 2026
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description

This PR resolves a build error on `net11.0` caused by duplicate public
API entries.

Build Link:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1536553&view=logs&j=a4801b0c-147f-5c8c-962a-741d86502051&t=a2489dc5-c5a7-5201-88b6-5de312b29600

**Fix:** Removed the 14 duplicate lines from:
- `src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt`
- `src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt`

No functional or API changes — just removes the duplicates so the build
passes again.

dotnet#35846 - This PR introduced the
unwanted changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/ios platform/macos macOS / Mac Catalyst

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants