Repository navigation
[msbuild] Return full paths from FilterStaticFrameworks. Fixes #19602 - #26244
Conversation
Resolve framework identities and source directories during the existing remote task execution, removing the redundant GetFullPaths round trip. Fixes #19602 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c9dc7f52-f7c2-4e21-8a70-0003306a3c28
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull request overview
This PR improves Windows remote-build performance by having the existing remote FilterStaticFrameworks task return full paths (including SourceDirectory) as part of its normal execution, eliminating the need for a second remote round trip to GetFullPaths in _ComputeFrameworkFilesToPublish (Fixes #19602).
Changes:
- Update
FilterStaticFrameworksto normalizeFrameworkToPublishitems to full paths and also fully-qualifySourceDirectorywhile preserving other metadata. - Remove the redundant
GetFullPathsinvocation in_ComputeFrameworkFilesToPublishand wire subsequent steps to use_FilteredFrameworkToPublishdirectly. - Add a unit test validating full-path output and metadata preservation.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/FilterStaticFrameworksTaskTest.cs | Adds coverage asserting FilterStaticFrameworks outputs full paths and preserves metadata. |
| msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs | Converts output item identities + SourceDirectory metadata to full paths and returns updated items. |
| dotnet/targets/Xamarin.Shared.Sdk.targets | Removes GetFullPaths usage and consumes FilterStaticFrameworks output directly. |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
🚀 [CI Build #339c6c1] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 203 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Resolve framework identities and source directories during the existing remote FilterStaticFrameworks task execution.
This removes the redundant GetFullPaths remote round trip from _ComputeFrameworkFilesToPublish.
Fixes #19602
🤖 Pull request created by Copilot