Repository navigation
Disable XML documentation publishing for AOT compatibility app - #7779
Merged
Merged
Conversation
Work around the .NET 11 RC2 publish regression while retaining documentation generation for analyzers. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ba0081a5-1917-45fd-8778-8df71dea108b
zivkan
marked this pull request as ready for review
October 15, 2026 04:13
donnie-msft
approved these changes
Oct 15, 2026
Nigusu-Allehu
approved these changes
Oct 15, 2026
This was referenced Oct 19, 2026
Member
|
@copilot please backport this change to the release 8.0 branch |
2 of 3 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bug
Fixes: infrastructure
Description
Disable XML documentation publishing only for the AOT compatibility test app to unblock CI with .NET SDK 11 RC2. The SDK fails with MSB3030 when copying the app's XML documentation from the build output directory. The regression is tracked in dotnet/sdk#56653.
Keep documentation generation enabled for analyzer enforcement; only omit the app's XML file from the publish output. Other projects are unaffected. The workaround is linked to the upstream issue so it can be removed once the SDK is fixed.
Engineering-only build fix; no NuGet/Home issue, new tests, or user-facing documentation changes are required. The existing AOT app exercises the affected publishing path.
Validation using SDK
11.0.100-rc.2.26504.105:dotnet publish test\NuGet.AotCompatibility.TestApp\NuGet.AotCompatibility.TestApp.csproj --configuration Release --output artifacts\AotCompatibility -v:minimal— passed, with existing package vulnerability warnings..\artifacts\AotCompatibility\NuGet.AotCompatibility.TestApp.exe— passed (Passed.).dotnet format whitespace --verify-no-changes NuGet.sln— passed, with workspace-loading warnings.Ready to leave draft after CI passes and review is requested.
PR Checklist
and a linked NuGet/Home issueAdded testsLink to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.