Repository navigation
🤖 Merge 'main' => 'xcode27.0' - #26026
Conversation
This pull request updates the following dependencies ## From https://github.com/dotnet/dotnet - **Subscription**: [da09b56a-0fb1-439a-b894-def14d2ec0a4](https://maestro.dot.net/subscriptions?search=da09b56a-0fb1-439a-b894-def14d2ec0a4) - **Build**: [20260708.13](https://dev.azure.com/dnceng/internal/_build/results?buildId=3017297) ([321968](https://maestro.dot.net/channel/10307/github:dotnet:dotnet/build/321968)) - **Date Produced**: July 8, 2026 3:11:06 PM UTC - **Commit**: [60ecf22aa8c916f0f91ae8996f0d5058b8d7a2ce](dotnet/dotnet@60ecf22) - **Branch**: [release/10.0.4xx](https://github.com/dotnet/dotnet/tree/release/10.0.4xx) - **Dependency Updates**: - From [10.0.0-beta.26357.110 to 10.0.0-beta.26358.113][1] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.SharedFramework.Sdk - From [10.0.400-preview.0.26357.110 to 10.0.400-preview.0.26358.113][1] - Microsoft.NET.Sdk - From [10.0.400-preview.26357.110 to 10.0.400-preview.26358.113][1] - Microsoft.TemplateEngine.Authoring.Tasks [1]: dotnet/dotnet@2bd0e65...60ecf22
…ied. (#25971) SaveAssembliesStep used to Cecil-Write every assembly whose action is Link or Save, which in a trimming build re-serializes every assembly in the trim set even though the assembly-preparer didn't modify them (the trimming is done later by ILLink). Now assemblies that weren't modified are output as-is - the original file is referenced during preparation, or copied during post-processing so all assemblies end up in the same directory for AOT compilation - instead of being re-serialized. The modified assemblies are collected in a set on the LinkerConfiguration from the AppBundleRewriter.AssemblySaved callback. Note we can't just encode "modified" in the assembly action (i.e. switch Link to Save when an assembly is modified and then only re-serialize Save assemblies), because AssemblyAction.Link is used as a gating condition by many steps (their IsActiveFor checks 'GetAction (assembly) == Link'); changing a modified assembly's action from Link to Save mid-pipeline would make later Link-gated steps skip it. For monotouch-test (ios-arm64, SdkOnly) this cut the number of Cecil writes from ~170 to 14 and roughly halved the time spent in SaveAssembliesStep. Verified with the monotouch-test suite (both 'release|linksdk' and link None, with PrepareAssemblies=true): all tests pass. Before build times: | Project | Runtime identifier | Link mode | PrepareAssemblies=false | PrepareAssemblies=true | Difference | | -------------- | ------------------ | --------- | ----------------------- | ---------------------- | ----------- | | monotouch-test | ios-arm64 | None | 00:02:04.03 | 00:02:05.67 | 00:00:01.64 | | monotouch-test | ios-arm64 | SdkOnly | 00:01:17.47 | 00:01:43.61 | 00:00:26.14 | | monotouch-test | iossimulator-arm64 | None | 00:01:37.04 | 00:01:38.26 | 00:00:01.21 | | monotouch-test | iossimulator-arm64 | SdkOnly | 00:01:09.96 | 00:01:19.42 | 00:00:09.46 | | MySimpleApp | ios-arm64 | None | 00:01:12.77 | 00:01:15.47 | 00:00:02.70 | | MySimpleApp | ios-arm64 | SdkOnly | 00:00:20.12 | 00:00:47.29 | 00:00:27.17 | | MySimpleApp | iossimulator-arm64 | None | 00:00:56.20 | 00:00:55.54 | 00:00:00.66 | | MySimpleApp | iossimulator-arm64 | SdkOnly | 00:00:19.68 | 00:00:31.96 | 00:00:12.27 | After build times: | Project | Runtime identifier | Link mode | PrepareAssemblies=false | PrepareAssemblies=true | Difference | | -------------- | ------------------ | --------- | ----------------------- | ---------------------- | ----------- | | monotouch-test | ios-arm64 | None | 00:02:05.92 | 00:02:07.87 | 00:00:01.94 | | monotouch-test | ios-arm64 | SdkOnly | 00:01:22.09 | 00:01:45.01 | 00:00:22.92 | | monotouch-test | iossimulator-arm64 | None | 00:01:36.61 | 00:01:37.47 | 00:00:00.85 | | monotouch-test | iossimulator-arm64 | SdkOnly | 00:01:10.02 | 00:01:14.54 | 00:00:04.51 | | MySimpleApp | ios-arm64 | None | 00:01:14.37 | 00:01:16.49 | 00:00:02.11 | | MySimpleApp | ios-arm64 | SdkOnly | 00:00:20.63 | 00:00:42.59 | 00:00:21.96 | | MySimpleApp | iossimulator-arm64 | None | 00:00:53.89 | 00:00:54.73 | 00:00:00.83 | | MySimpleApp | iossimulator-arm64 | SdkOnly | 00:00:19.67 | 00:00:27.25 | 00:00:07.58 | --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
#25938 (#25943) An incremental (second, no-source-change) build with `PrepareAssemblies=true` could fail with `MT2362` ("Could not find <platform> in the list of registered assemblies"), even though the initial clean build succeeded. Root cause: the `_PrepareAssemblies` and `_PostprocessAssemblies` targets used 1:1 `Inputs`/`Outputs` item transforms, which let MSBuild run them as partial incremental builds. In partial mode MSBuild passes only the out-of-date subset of assemblies to the `PrepareAssemblies` task, but the assembly-preparer needs the complete assembly closure to resolve inter-assembly references, so resolution fails. `_PrepareAssemblies` was already fixed as a side effect of #25939, which added `$(_AssemblyPreparerMSBuildOutputFile)` to its `Outputs` (breaking the 1:1 correspondence, so MSBuild rebuilds the target all-or-nothing). This PR applies the same fix to `_PostprocessAssemblies`, which still ran partially: add `$(_AssemblyPostProcessorMSBuildOutputFile)` (which the assembly-preparer already always writes for the post-processing pass) to its `Outputs`. Also add a `PrepareAssembliesTest` regression test that builds MySimpleApp twice (no changes in between) under two configurations: - managed-static / SdkOnly / Release (the original repro) - dynamic / None / Debug Fixes #25938 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rmance report. (#25973) A custom TimeSpan format string (hh\:mm\:ss\.ff) doesn't include the sign, so a negative difference (when the enabled build is faster than the disabled one) was rendered as a positive value. Emit the '-' ourselves and format the absolute value. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Protected files were modified in this pull request and require manual scrutiny before merge.
Please verify that each protected-file change is intentional, policy-compliant, and safe:
- Protected files:
README.md,.agents/files/training-log-macios-binding-creator.md,.agents/skills/macios-binding-creator/SKILL.md,.agents/skills/macios-binding-creator/references/binding-patterns.md,.agents/skills/macios-binding-creator/references/test-workflow.md
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
… (#25978) PublishSingleFile is not supported for .NET Apple platforms. Previously, setting this property would result in a cryptic error from the GenerateBundle task. Now we show a clear error message explaining that single-file publishing is not supported. Also adds a note to copilot-instructions.md that new test cases should prefer `-arm64` over `-x64`. Fixes #16754 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…25974) When the AppSizeTest fails in CI: 1. The Azure DevOps pipeline creates a GitHub gist with the updated expected files and posts a PR comment with the gist URL. 2. A maintainer can comment `/apply-gist <url>` on the PR to trigger a GitHub Actions workflow that downloads the gist files and commits them to the PR branch. Security: - Only comments from users with write access are honored - Only gists from approved owners are accepted (currently `vs-mobiletools-engineering-service2`) 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…cation, CFHTTPStream, EKParticipantType, EKErrorCode, EKWeekday (#25976) Improve XML documentation for several types: - **ObjCException**: Add meaningful summaries and parameter docs - **NLLanguage**: Fix summary grammar - **CFHTTPAuthentication**: Remove empty `<remarks>` node - **CFHTTPStream**: Remove empty `<remarks>` node - **EKParticipantType**: Fix misleading summary - **EKErrorCode**: Improve enum member descriptions - **EKWeekday**: Improve enum member descriptions Total: 46 changed lines (27 insertions, 19 deletions) 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This pull request updates the following dependencies ## From https://github.com/dotnet/dotnet - **Subscription**: [da09b56a-0fb1-439a-b894-def14d2ec0a4](https://maestro.dot.net/subscriptions?search=da09b56a-0fb1-439a-b894-def14d2ec0a4) - **Build**: [20260709.9](https://dev.azure.com/dnceng/internal/_build/results?buildId=3018363) ([322206](https://maestro.dot.net/channel/10307/github:dotnet:dotnet/build/322206)) - **Date Produced**: July 9, 2026 3:27:04 PM UTC - **Commit**: [812e3e28c380da3b0b206506ee2eeb54697d3bd1](dotnet/dotnet@812e3e2) - **Branch**: [release/10.0.4xx](https://github.com/dotnet/dotnet/tree/release/10.0.4xx) - **Dependency Updates**: - From [10.0.0-beta.26358.113 to 10.0.0-beta.26359.109][1] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.SharedFramework.Sdk - From [10.0.400-preview.0.26358.113 to 10.0.400-preview.0.26359.109][1] - Microsoft.NET.Sdk - From [10.0.400-preview.26358.113 to 10.0.400-preview.26359.109][1] - Microsoft.TemplateEngine.Authoring.Tasks [1]: dotnet/dotnet@60ecf22...812e3e2
…_BUNDLES (#26002) Fix variable name typo in `run-tests.yml`: `HAS_FAILED_APP_SIZE_BUNDLERS` → `HAS_FAILED_APP_SIZE_BUNDLES` to match the `failed-app-size-bundles` directory name. 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ests (#26001) Log when we attempt to capture the screen, use async event-based output capture to avoid deadlocks, and report success (with file size) or failure (with exit code and output from screencapture). This helps diagnose why no screenshot is created on macOS Tahoe, which likely fails due to missing screen recording TCC permissions. Also add a copilot instruction to avoid the ReadToEnd() deadlock pattern. 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
) On branches that use beta versions of Xcode, we typically do a lot of binding work, and that mean that frequent updates to the known failures for this test are necessary. So frequent that it becomes frustrating, and also slows down pace, because there will be a lot of merge conflicts between PRs that all update the known failures for this test. So just disable it when using a beta version of Xcode. Once the branch switches to a stable version of Xcode, there will be much less binding work, and we can resume this test.
….0-20260709-6db5a0bdede01efa
…ode27.0-20260709-6db5a0bdede01efa
✅ [CI Build #aa64e9f] Prepare .NET Release succeeded ✅📦 Published NuGet packages (32 packages)iOS
MacCatalyst
macOS
tvOS
Other
Pipeline on Agent |
✅ 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 |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #823d6bf] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 191 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Caution
Protected files were modified in this change.
This pull request is in
request_reviewmode and requires explicit human scrutiny before merge.Protected files:
README.md,.agents/files/training-log-macios-binding-creator.md,.agents/skills/macios-binding-creator/SKILL.md,.agents/skills/macios-binding-creator/references/binding-patterns.md,.agents/skills/macios-binding-creator/references/test-workflow.mdAutomated merge of
mainintoxcode27.0.Created by the code-radiator workflow.