[build] Ignore MAUI public API analyzer errors (RS0016) in MAUI integration lane#10884
Merged
jonathanpeppers merged 1 commit intomainfrom Mar 4, 2026
Merged
Conversation
…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.
Contributor
There was a problem hiding this comment.
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: Generateto themaui_tests_integrationjob variables to suppress RS0016 failures during MAUI integration builds.
Member
Author
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>
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.

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.