Skip to content

🤖 Merge 'main' => 'xcode27.0' - #26026

Merged
dalexsoto merged 15 commits into
xcode27.0from
merge/main-to-xcode27.0-20260709-6db5a0bdede01efa
Jul 10, 2026
Merged

dalexsoto merged 15 commits into
xcode27.0from
merge/main-to-xcode27.0-20260709-6db5a0bdede01efa

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Caution

Protected files were modified in this change.
This pull request is in request_review mode 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.md

Automated merge of main into xcode27.0.

Created by the code-radiator workflow.

Generated by Code Radiator · 82.2 AIC · ⌖ 46.5 AIC · ⊞ 9K · ◷

dotnet-maestro Bot and others added 5 commits July 9, 2026 06:33
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>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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

@dalexsoto
dalexsoto enabled auto-merge July 9, 2026 20:31
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Failed to compute test summaries on VSTS: test results 🔥

Failed to compute test summaries: Unable to understand the test result '# ⚠️ arm64 - Mac Golden Gate (27): Tests skipped, incorrect beta version' for test 'Tests on macOS Golden Gate (27)'.

Pipeline on Agent
Merge 9756974 into 9f3bb3d

rolfbjarne and others added 3 commits July 10, 2026 02:21
… (#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>
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Failed to compute test summaries on VSTS: test results 🔥

Failed to compute test summaries: Unable to understand the test result '# ⚠️ arm64 - Mac Golden Gate (27): Tests skipped, incorrect beta version' for test 'Tests on macOS Golden Gate (27)'.

Pipeline on Agent
Merge 9756974 into 9f3bb3d

@rolfbjarne
rolfbjarne removed the request for review from mauroa July 10, 2026 10:34
dotnet-maestro Bot and others added 4 commits July 10, 2026 12:48
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>
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Failed to compute test summaries on VSTS: test results 🔥

Failed to compute test summaries: Unable to understand the test result '# ⚠️ arm64 - Mac Golden Gate (27): Tests skipped, incorrect beta version' for test 'Tests on macOS Golden Gate (27)'.

Pipeline on Agent
Merge 9756974 into 9f3bb3d

rolfbjarne and others added 3 commits July 10, 2026 14:40
)

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.
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [CI Build #aa64e9f] Prepare .NET Release succeeded ✅

📦 Published NuGet packages (32 packages)

iOS

  • Microsoft.iOS.Ref.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.ios-arm64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.ios.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.iossimulator-arm64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.iossimulator-x64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Sdk.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Templates.27.0.10205-xcode27.0.nupkg
  • Microsoft.iOS.Windows.Sdk.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.NET.Sdk.iOS.Manifest-10.0.400-preview.0.27.0.10205-xcode27.0.nupkg

MacCatalyst

  • Microsoft.MacCatalyst.Ref.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Runtime.maccatalyst-arm64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Runtime.maccatalyst.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Sdk.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Templates.27.0.10205-xcode27.0.nupkg
  • Microsoft.NET.Sdk.MacCatalyst.Manifest-10.0.400-preview.0.27.0.10205-xcode27.0.nupkg

macOS

  • Microsoft.macOS.Ref.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.macOS.Runtime.osx-arm64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.macOS.Runtime.osx-x64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.macOS.Runtime.osx.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.macOS.Sdk.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.macOS.Templates.27.0.10205-xcode27.0.nupkg
  • Microsoft.NET.Sdk.macOS.Manifest-10.0.400-preview.0.27.0.10205-xcode27.0.nupkg

tvOS

  • Microsoft.NET.Sdk.tvOS.Manifest-10.0.400-preview.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Ref.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvos-arm64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvos.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvossimulator-arm64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvossimulator-x64.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Sdk.net10.0_27.0.27.0.10205-xcode27.0.nupkg
  • Microsoft.tvOS.Templates.27.0.10205-xcode27.0.nupkg

Other

  • Sharpie.Bind.Tool.27.0.0.205-xcode27.0.nupkg

Pipeline on Agent
Hash: aa64e9fe9575201e5449907fcde534ccbcdb77c5 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 823d6bf4ab0aea239c966dc20057aed4608e48ae [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [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
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 17 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 18 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 823d6bf4ab0aea239c966dc20057aed4608e48ae [PR build]

@dalexsoto
dalexsoto merged commit c01806c into xcode27.0 Jul 10, 2026
55 checks passed
@dalexsoto
dalexsoto deleted the merge/main-to-xcode27.0-20260709-6db5a0bdede01efa branch July 10, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants