Skip to content

[build] Ignore MAUI public API analyzer errors (RS0016) in MAUI integration lane#10884

Merged
jonathanpeppers merged 1 commit intomainfrom
dev/peppers/maui-integration-api-errors
Mar 4, 2026
Merged

[build] Ignore MAUI public API analyzer errors (RS0016) in MAUI integration lane#10884
jonathanpeppers merged 1 commit intomainfrom
dev/peppers/maui-integration-api-errors

Conversation

@jonathanpeppers
Copy link
Copy Markdown
Member

Set PublicApiType=Generate on the maui_tests_integration job to skip the Microsoft.CodeAnalysis.PublicApiAnalyzers package, which produces RS0016 errors for new/changed MAUI APIs that dotnet/android does not need to validate.

…ration lane

Set PublicApiType=Generate on the maui_tests_integration job to skip the Microsoft.CodeAnalysis.PublicApiAnalyzers package, which produces RS0016 errors for new/changed MAUI APIs that dotnet/android does not need to validate.
@jonathanpeppers jonathanpeppers added the copilot `copilot-cli` or other AIs were used to author this label Mar 4, 2026
Copilot AI review requested due to automatic review settings March 4, 2026 17:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the MAUI integration Azure Pipelines job configuration to avoid failing on MAUI public API analyzer (RS0016) issues that are not actionable for dotnet/android.

Changes:

  • Adds PublicApiType: Generate to the maui_tests_integration job variables to suppress RS0016 failures during MAUI integration builds.

@jonathanpeppers
Copy link
Copy Markdown
Member Author

This is green, I'm merging:

image

@jonathanpeppers jonathanpeppers merged commit b20c8e0 into main Mar 4, 2026
5 of 10 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/peppers/maui-integration-api-errors branch March 4, 2026 18:08
jonathanpeppers added a commit that referenced this pull request Mar 5, 2026
…10884)

Set `PublicApiType=Generate` on the `maui_tests_integration` job to skip the
`Microsoft.CodeAnalysis.PublicApiAnalyzers` package, which produces `RS0016`
errors for new/changed MAUI APIs that dotnet/android does not need to validate.
jonathanpeppers added a commit that referenced this pull request Mar 17, 2026
…10884)

Set `PublicApiType=Generate` on the `maui_tests_integration` job to skip the
`Microsoft.CodeAnalysis.PublicApiAnalyzers` package, which produces `RS0016`
errors for new/changed MAUI APIs that dotnet/android does not need to validate.
jonathanpeppers added a commit that referenced this pull request Mar 18, 2026
Changes: dotnet/dotnet@1e7efac...695853e

* Update dependencies from https://github.com/dotnet/dotnet build 20260315.6
On relative base path root
Microsoft.DotNet.Build.Tasks.Feed From Version 10.0.0-beta.26156.117 -> To Version 10.0.0-beta.26165.106
Microsoft.NET.Sdk From Version 10.0.300-preview.26156.117 -> To Version 10.0.300-preview.0.26165.106
Microsoft.TemplateEngine.Authoring.Tasks From Version 10.0.300-preview.26156.117 -> To Version 10.0.300-preview.26165.106

* Remove dead DARC NuGet feeds

These feeds were added manually for older servicing releases (runtime
9.0.5 and 8.0.16) and have since been cleaned up from Azure DevOps.
They cause NU1900 restore failures (warnings-as-errors).

* Switch MAUI pipeline ref from net10.0 to main

MAUI's net10.0 branch has a dead DARC feed (darc-pub-dotnet-android-1719a35b)
that causes NU1301 restore failures. MAUI main targets .NET 10 and does not
have the stale feed.

* [build] Ignore `RS0016` public API errors in MAUI integration lane (#10884)

Set `PublicApiType=Generate` on the `maui_tests_integration` job to skip the
`Microsoft.CodeAnalysis.PublicApiAnalyzers` package, which produces `RS0016`
errors for new/changed MAUI APIs that dotnet/android does not need to validate.

* Set DOTNET_HOST_PATH for MSBuild TaskHostFactory app host

The new MSBuild app host (dotnet/msbuild#13175) requires DOTNET_HOST_PATH
to bootstrap the .NET runtime when spawning out-of-proc task hosts. Without
this, tasks using TaskHostFactory (like ILLink's ComputeManagedAssemblies)
fail with MSB4221 when using a locally-installed SDK.

Backport of the fix from main (287f27d).

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

copilot `copilot-cli` or other AIs were used to author this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants