Skip to content

[net11.0] [dotnet-linker] Add a trimmer step to inline calls to Class.GetHandle[Intrinsic].#25422

Draft
rolfbjarne wants to merge 72 commits into
net11.0from
dev/rolf/inline-class-gethandle-net11.0
Draft

[net11.0] [dotnet-linker] Add a trimmer step to inline calls to Class.GetHandle[Intrinsic].#25422
rolfbjarne wants to merge 72 commits into
net11.0from
dev/rolf/inline-class-gethandle-net11.0

Conversation

@rolfbjarne
Copy link
Copy Markdown
Member

DO NOT REVIEW

This PR is only to get CI results.

dalexsoto and others added 30 commits April 3, 2026 12:34
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…nvokes and fix UnscheduleFromRunLoop bug (#25103)

- Add [SupportedOSPlatform("macos")] and
[ObsoletedOSPlatform("macos13.0")] to FSEventStreamScheduleWithRunLoop
and FSEventStreamUnscheduleFromRunLoop DllImport externs to resolve xtro
deprecated-attribute-missing entries.

- Fix bug in UnscheduleFromRunLoop that incorrectly called
FSEventStreamScheduleWithRunLoop instead of
FSEventStreamUnscheduleFromRunLoop.

- Remove resolved macOS-CoreServices.todo file.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Enable MediaSetup framework bindings for Mac Catalyst (16.0):

- Add [MacCatalyst (16, 0)] to MSServiceAccount,
MSAuthenticationPresentationContext, and MSSetupSession
- Add MediaSetup to MACCATALYST_FRAMEWORKS in frameworks.sources
- Register MediaSetup with version 16.0 for Mac Catalyst in
Frameworks.cs (remove from unavailable list)
- Add MacCatalyst-MediaSetup.ignore for version fields
- Remove resolved MacCatalyst-MediaSetup.todo

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
## Summary

Enable nullable reference types, treat-warnings-as-errors, and use the latest C# language version globally across the entire repository via `Directory.Build.props`.

## Changes

### Global settings (`Directory.Build.props`)

* Set `<Nullable>enable</Nullable>` globally.
* Set `<TreatWarningsAsErrors>true</TreatWarningsAsErrors>` globally.
* Set `<LangVersion>latest</LangVersion>` globally (when not already set).

### Cleanup: remove per-project redundant settings

* Remove per-project `<Nullable>enable</Nullable>` from ~100+ `.csproj` files, since it's now set globally.
* Remove per-project `<TreatWarningsAsErrors>` and `<WarningsAsErrors>` settings that are now redundant.
* Remove per-project `<LangVersion>` settings that are now covered by the global default.

### Fix nullability warnings in test code

* **bindings-test**: Fix nullability issues in `ProtocolTest.cs`, `Registrar.cs`, `RuntimeTest.cs`.
* **dont-link**: Fix nullability issues across multiple test files.
* **link all**: Fix nullability issues in link-all tests.
* **link sdk**: Fix nullability issues in link-sdk tests.
* **BundledResources**: Fix nullability in `ResourcesTest.cs`.
* **F# tests**: Fix nullability issues in F# test code.
* **Other**: Minor nullability fix in `generate-frameworks-constants.cs`.

🤖 Pull request created by Copilot

With this change, nullability is fully enabled everywhere, so:

* Fixes #17285.
* Fixes #6154.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…1: Build ID 14038264 (#25361)

This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.
Don't override the GetTargetPath/Build/Rebuild targets for app extensions, because we also override some of these targets when building remotely, and the custom logic for app extensions is overridden.

Instead create new targets that depend on those we previously overrode instead.

Fixes #23516.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2542958.
I asked Copilot to review our agentic workflows according to https://github.com/dotnet/vitals/blob/main/.agents/skills/gh-aw-guide/SKILL.md,
and this is what it came up with:

* Fix 'maintainer' → 'maintain' (correct GitHub role name)
* Change min-integrity from 'none' to 'approved' for both workflows (safer default
  for public repos, prevents XPIA from untrusted content)
* Add concurrency groups (cancel-in-progress: false for slash_command, true for
  schedule/dispatch)
* Add supersede-older-reviews: true on reviewer (auto-dismiss stale REQUEST_CHANGES
  reviews)
* Use fuzzy schedule 'daily' instead of fixed cron for code-radiator
* Add target: "*" on add-comment/add-labels for code-radiator (no triggering PR
  context on schedule/dispatch)
* Recompile lock files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dotnet-maestro Bot and others added 11 commits May 15, 2026 07:23
This pull request updates the following dependencies

## From https://github.com/dotnet/xharness

- **Subscription**: [02e03784-16b3-4ced-b02a-3715797fc7da](https://maestro.dot.net/subscriptions?search=02e03784-16b3-4ced-b02a-3715797fc7da)
- **Build**: [20260514.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2974748) ([314304](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/314304))
- **Date Produced**: May 14, 2026 9:16:56 AM UTC
- **Commit**: [51ca379106cfd749a498cb0822210ef1aa926e41](dotnet/xharness@51ca379)
- **Branch**: [main](https://github.com/dotnet/xharness/tree/main)

- **Dependency Updates**:
  - From [11.0.0-prerelease.26230.4 to 11.0.0-prerelease.26264.1][1]
     - Microsoft.DotNet.XHarness.iOS.Shared

[1]: dotnet/xharness@92962e5...51ca379
Convert classic NUnit assertions (`Assert.AreEqual`, `Assert.IsTrue`, `Assert.IsNotNull`, etc.) to NUnit v4's constraint-based `Assert.That` syntax in the msbuild test projects.

Also update package references to use centralized version properties from `Directory.Build.props`:
- `NUnit` → `$(NUnitPackageVersion)`
- `NUnit3TestAdapter` → `$(NUnit3TestAdapterPackageVersion)`
- `Microsoft.NET.Test.Sdk` → `$(MicrosoftNETTestSdkPackageVersion)`

Two shared files (`tests/common/DotNet.cs`, `tests/common/mac/ProjectTestHelpers.cs`) are also converted — the `Assert.That` constraint syntax is compatible with both NUnit 3 and 4, so other projects referencing these files are unaffected.

All `tests-msbuild` tests pass (495 passed, 0 failed).

🤖 Pull request created by Copilot

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use GroupBy before ToDictionary to handle potential duplicate class
names in the typeMap file gracefully, rather than throwing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add $(_ILTrimSurvivingClassesFile) and $(_NativeAOTSurvivingClassesFile)
  to target Outputs and FileWrites for correct incremental builds.
- Validate TypeMapFilePath existence before reading, with a clear error.
- Error on duplicate class keys in the type map dictionary.
- Add '|release' to the NativeAOT .NET 11 defaults test variation.
- Fix typo: 'should referenced' → 'should be referenced'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This will eventually become 27.0, when .NET 11 goes stable (for now there's no Xcode 26.0 support in .NET 11, only Xcode 26.5).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…26-05-18' into dev/rolf/inline-class-gethandle-net11.0
@rolfbjarne rolfbjarne force-pushed the dev/rolf/inline-class-gethandle-net11.0 branch from 9bce624 to 4682803 Compare May 18, 2026 11:55
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@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

🔥 [CI Build #4682803] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 148 tests failed, 49 tests passed.

Failures

❌ dotnettests tests (iOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.AppSizeTest.CoreCLR_Interpreter(iOS,"ios-arm64",Tr...: App size changed significantly (-45,859 bytes (-44.8 KB = -0.0 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB)). ...
    • Xamarin.Tests.AppSizeTest.CoreCLR_R2R(iOS,"ios-arm64",True): App size changed significantly (-66,296 bytes (-64.7 KB = -0.1 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB)). ...
    • Xamarin.Tests.AppSizeTest.MonoVM_Interpreter(iOS,"ios-arm64"): App size changed significantly (-72,149 bytes (-70.5 KB = -0.1 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB)). ...
    • ... and 15 more

Html Report (VSDrops) Download

❌ dotnettests tests (MacCatalyst)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.AppSizeTest.MonoVM_Interpreter(MacCatalyst,"maccat...: App size changed significantly (-78,805 bytes (-77.0 KB = -0.1 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB)). ...
    • Xamarin.Tests.AppSizeTest.MonoVM(MacCatalyst,"maccatalyst-arm64"...: App size changed significantly (-78,549 bytes (-76.7 KB = -0.1 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB)). ...
    • Xamarin.Tests.AppSizeTest.NativeAOT_TrimmableStatic(MacCatalyst,...: 'dotnet build' failed with exit code 1
      Full command: /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-11.0.100-p...
    • ... and 27 more

Html Report (VSDrops) Download

❌ dotnettests tests (macOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.AppSizeTest.CoreCLR_Interpreter_TrimmableStatic(Ma...: App size changed significantly (-154,549 bytes (-150.9 KB = -0.1 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB))...
    • Xamarin.Tests.AppSizeTest.CoreCLR_Interpreter(MacOSX,"osx-arm64;...: App size changed significantly (-170,901 bytes (-166.9 KB = -0.2 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB))...
    • Xamarin.Tests.AppSizeTest.CoreCLR_R2R(MacOSX,"osx-arm64;osx-x64"...: App size changed significantly (-170,901 bytes (-166.9 KB = -0.2 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB))...
    • ... and 16 more

Html Report (VSDrops) Download

❌ dotnettests tests (tvOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.AppSizeTest.MonoVM_Interpreter(TVOS,"tvos-arm64"): App size changed significantly (-58,965 bytes (-57.6 KB = -0.1 MB) different > tolerance of +-10,240 bytes (10.0 KB = 0.0 MB)). ...
    • Xamarin.Tests.AppSizeTest.NativeAOT_TrimmableStatic(TVOS,"tvos-a...: 'dotnet build' failed with exit code 1
      Full command: /Users/builder/azdo/_work/1/s/macios/builds/downloads/dotnet-sdk-11.0.100-p...
    • Xamarin.Tests.BundleStructureTest.Build_CoreCLR(TVOS,"tvos-arm64...: Warnings
      Expected is <System.Collections.Generic.List`1[System.String]> with 10 elements, actual is <System.String[2929]>
      ...
    • ... and 11 more

Html Report (VSDrops) Download

❌ framework tests

2 tests failed, 0 tests passed.

Failed tests

  • framework-test/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • framework-test/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)

Html Report (VSDrops) Download

❌ fsharp tests

2 tests failed, 2 tests passed.

Failed tests

  • fsharp/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • fsharp/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)

Html Report (VSDrops) Download

❌ interdependent-binding-projects tests

4 tests failed, 0 tests passed.

Failed tests

  • interdependent-binding-projects/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • interdependent-binding-projects/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • interdependent-binding-projects/iOS - simulator/Debug: Failed
  • interdependent-binding-projects/tvOS - simulator/Debug: Failed

Html Report (VSDrops) Download

❌ introspection tests

3 tests failed, 6 tests passed.

Failed tests

  • introspection/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • introspection/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • introspection/Mac Catalyst/CoreCLR: Failed (Test run crashed (exit code: 134).
    No test log file was produced)

Html Report (VSDrops) Download

❌ linker tests

32 tests failed, 12 tests passed.

Failed tests

  • dont link/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • dont link/macOS/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • dont link/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • dont link/Mac Catalyst/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link sdk/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link sdk/macOS/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link sdk/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link sdk/Mac Catalyst/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/macOS/Debug (don't bundle original resources): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/macOS/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/Mac Catalyst/Debug (don't bundle original resources): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/Mac Catalyst/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • link all/iOS - simulator/Debug: Failed
  • link all/iOS - simulator/Release: Failed
  • link all/iOS - simulator/Debug (don't bundle original resources): Failed
  • link all/tvOS - simulator/Debug: Failed
  • link all/tvOS - simulator/Release: Failed
  • link all/tvOS - simulator/Debug (don't bundle original resources): Failed
  • trimmode copy/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode copy/macOS/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode copy/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode copy/Mac Catalyst/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode link/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode link/macOS/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode link/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode link/Mac Catalyst/Release: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • trimmode link/iOS - simulator/Debug: Failed
  • trimmode link/iOS - simulator/Release: Failed
  • trimmode link/tvOS - simulator/Debug: Failed
  • trimmode link/tvOS - simulator/Release: Failed

Html Report (VSDrops) Download

❌ monotouch tests (iOS)

21 tests failed, 3 tests passed.

Failed tests

  • monotouch-test/iOS - simulator/Debug: Failed
  • monotouch-test/iOS - simulator/Debug (CoreCLR): BuildFailure
  • monotouch-test/iOS - simulator/Release (CoreCLR, ARM64): Failed
  • monotouch-test/iOS - simulator/Release (CoreCLR, x64): Failed
  • monotouch-test/iOS - simulator/Release (CoreCLR, Universal): Failed
  • monotouch-test/iOS - simulator/Debug (LinkSdk): Failed
  • monotouch-test/iOS - simulator/Debug (static registrar): Failed
  • monotouch-test/iOS - simulator/Release (all optimizations): Crashed
  • monotouch-test/iOS - simulator/Debug (ARM64): Failed
  • monotouch-test/iOS - simulator/Release (trimmable static registrar, NativeAOT, ARM64): BuildFailure
  • monotouch-test/iOS - simulator/Debug (managed static registrar): Failed
  • monotouch-test/iOS - simulator/Debug (trimmable static registrar): Failed
  • monotouch-test/iOS - simulator/Release (managed static registrar, all optimizations): Crashed
  • monotouch-test/iOS - simulator/Release (trimmable static registrar, all optimizations): Crashed
  • monotouch-test/iOS - simulator/Release (trimmable static registrar, NativeAOT, x64): BuildFailure
  • monotouch-test/iOS - simulator/Debug (interpreter): Failed
  • monotouch-test/iOS - simulator/Release (interpreter): Failed
  • monotouch-test/iOS - simulator/Release (compat inline Class.GetHandle): Failed
  • monotouch-test/iOS - simulator/Release (strict inline Class.GetHandle): Failed
  • monotouch-test/iOS - simulator/Release (compat inline dlfcn): Failed
  • monotouch-test/iOS - simulator/Release (strict inline dlfcn, link sdk): Crashed

Html Report (VSDrops) Download

❌ monotouch tests (MacCatalyst)

24 tests failed, 4 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (CoreCLR): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (CoreCLR, ARM64): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (CoreCLR, x64): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (CoreCLR, Universal): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (ARM64): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (managed static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (trimmable static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (static registrar, ARM64): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (managed static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (trimmable static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (managed static registrar, all optimizations): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (trimmable static registrar, all optimizations): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (trimmable static registrar, NativeAOT): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • monotouch-test/Mac Catalyst/Release (trimmable static registrar, NativeAOT, ARM64): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • monotouch-test/Mac Catalyst/Release (trimmable static registrar, NativeAOT, x64): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • monotouch-test/Mac Catalyst/Release (static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (static registrar, all optimizations): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (ARM64, LLVM): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Debug (interpreter): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (interpreter): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (compat inline dlfcn): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/Mac Catalyst/Release (strict inline dlfcn, link sdk): Failed (Test run crashed (exit code: 134).
    No test log file was produced)

Html Report (VSDrops) Download

❌ monotouch tests (macOS)

14 tests failed, 7 tests passed.

Failed tests

  • monotouch-test/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Debug (ARM64): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Debug (managed static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Debug (trimmable static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Debug (static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Debug (static registrar, ARM64): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (managed static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (trimmable static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (managed static registrar, all optimizations): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (trimmable static registrar, all optimizations): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (static registrar): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (static registrar, all optimizations): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (compat inline dlfcn): Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • monotouch-test/macOS/Release (strict inline dlfcn, link sdk): Failed (Test run crashed (exit code: 134).
    No test log file was produced)

Html Report (VSDrops) Download

❌ monotouch tests (tvOS)

24 tests failed, 0 tests passed.

Failed tests

  • monotouch-test/tvOS - simulator/Debug: LaunchTimedOut
  • monotouch-test/tvOS - simulator/Debug (CoreCLR): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (CoreCLR, ARM64): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (CoreCLR, x64): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (CoreCLR, Universal): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Debug (static registrar): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (all optimizations): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Debug (ARM64): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (NativeAOT, ARM64): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, NativeAOT, ARM64): BuildFailure
  • monotouch-test/tvOS - simulator/Debug (managed static registrar): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Debug (trimmable static registrar): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (managed static registrar, all optimizations): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, all optimizations): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (NativeAOT, x64): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, NativeAOT, x64): BuildFailure ( (failed to parse the logs: The Writer is closed or in error state.))
  • monotouch-test/tvOS - simulator/Debug (interpreter): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (interpreter): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (compat inline Class.GetHandle): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (strict inline Class.GetHandle): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (compat inline dlfcn): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (strict inline dlfcn, link sdk): LaunchTimedOut
  • monotouch-test/tvOS - simulator/Release (NativeAOT, .NET 11 defaults): LaunchTimedOut

Html Report (VSDrops) Download

❌ windows tests

1 tests failed, 2 tests passed.

Failed tests

  • Remote .NET tests/Xamarin.Tests.WindowsTest.BundleStructureWithRemoteMac_CoreCLR(iOS,"ios-arm64",All,"Debug"): Failed: Incorrect warnings: Warnings

  • Remote .NET tests/Xamarin.Tests.DotNetProjectTest.PublishAotOnWindows(iOS,"ios-arm64","Release"): Failed: 'dotnet build' timed out after 00:10:00

  • Remote .NET tests/Xamarin.Tests.WindowsTest.RemoteTest(iOS,"ios-arm64","Debug",True): Failed: 'dotnet build' failed with exit code 1

  • Remote .NET tests/Xamarin.Tests.DotNetProjectTest.AppWithLibraryWithResourcesReferenceOnRemoteWindows(iOS,"ios-arm64",False): Failed: 'dotnet build' failed with exit code 1

  • Remote .NET tests/Xamarin.Tests.WindowsTest.RemoteTest(iOS,"ios-arm64","Release",False): Failed: 'dotnet build' failed with exit code 1

  • Remote .NET tests/Xamarin.Tests.DotNetProjectTest.AppWithLibraryWithResourcesReferenceOnRemoteWindows(iOS,"ios-arm64",True): Failed: 'dotnet build' failed with exit code 1

  • Remote .NET tests/Xamarin.Tests.WindowsTest.BundleStructureWithRemoteMac_Mono(iOS,"ios-arm64",All,"Debug"): Failed: Incorrect warnings: Warnings

  • Remote .NET tests/Xamarin.Tests.WindowsTest.RemoteTest(iOS,"ios-arm64","Debug",False): Failed: 'dotnet build' failed with exit code 1

  • Remote .NET tests/Xamarin.Tests.DotNetProjectTest.BuildProjectsWithExtensionsOnRemoteWindows(iOS,"ios-arm64",False): Failed: 'dotnet build' failed with exit code 1

Html Report (VSDrops) Download

❌ xcframework tests

2 tests failed, 2 tests passed.

Failed tests

  • xcframework-test/macOS/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)
  • xcframework-test/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    No test log file was produced)

Html Report (VSDrops) Download

❌ Tests on macOS Sonoma (14) tests

5 tests failed, 0 tests passed.

Failed tests

  • dontlink: Failed (exit code 2)
    • No test failure details available. stderr output:
      • at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/4/s/macios/src/UIKit/UIApplication.cs:line 97
      • at MainClass.Main(String[] args) in /Users/builder/azdo/_work/4/s/macios/tests/common/AppDelegate.cs:line 89
      • at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException)
      • make[1]: *** [exec-maccatalyst-dotnet-x64-dontlink] Error 134
      • sed: ../.git: No such file or directory
      • fatal: not a git repository (or any of the parent directories): .git
      • fatal: not a git repository (or any of the parent directories): .git
      • The required Xcode (26.5) is not installed in /Applications/Xcode_26.5.0.app/Contents/Developer
      • /bin/sh: ./create-make-config.sh: No such file or directory
      • make: *** [exec-dontlink] Error 1
  • introspection: Failed (exit code 2)
    • No test failure details available. stderr output:
      • at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/4/s/macios/src/UIKit/UIApplication.cs:line 97
      • at MainClass.Main(String[] args) in /Users/builder/azdo/_work/4/s/macios/tests/common/AppDelegate.cs:line 89
      • at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException)
      • make[1]: *** [exec-maccatalyst-dotnet-x64-introspection] Error 134
      • sed: ../.git: No such file or directory
      • fatal: not a git repository (or any of the parent directories): .git
      • fatal: not a git repository (or any of the parent directories): .git
      • The required Xcode (26.5) is not installed in /Applications/Xcode_26.5.0.app/Contents/Developer
      • /bin/sh: ./create-make-config.sh: No such file or directory
      • make: *** [exec-introspection] Error 1
  • linksdk: Failed (exit code 2)
    • No test failure details available. stderr output:
      • at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/4/s/macios/src/UIKit/UIApplication.cs:line 97
      • at MainClass.Main(String[] args) in /Users/builder/azdo/_work/4/s/macios/tests/common/AppDelegate.cs:line 89
      • at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException)
      • make[1]: *** [exec-maccatalyst-dotnet-x64-linksdk] Error 134
      • sed: ../.git: No such file or directory
      • fatal: not a git repository (or any of the parent directories): .git
      • fatal: not a git repository (or any of the parent directories): .git
      • The required Xcode (26.5) is not installed in /Applications/Xcode_26.5.0.app/Contents/Developer
      • /bin/sh: ./create-make-config.sh: No such file or directory
      • make: *** [exec-linksdk] Error 1
  • linkall: Failed (exit code 2)
    • No test failure details available. stderr output:
      • at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/4/s/macios/src/UIKit/UIApplication.cs:line 97
      • at MainClass.Main(String[] args) in /Users/builder/azdo/_work/4/s/macios/tests/common/AppDelegate.cs:line 89
      • at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException)
      • make[1]: *** [exec-maccatalyst-dotnet-x64-linkall] Error 134
      • sed: ../.git: No such file or directory
      • fatal: not a git repository (or any of the parent directories): .git
      • fatal: not a git repository (or any of the parent directories): .git
      • The required Xcode (26.5) is not installed in /Applications/Xcode_26.5.0.app/Contents/Developer
      • /bin/sh: ./create-make-config.sh: No such file or directory
      • make: *** [exec-linkall] Error 1
  • monotouch-test: Failed (exit code 2)
    • No test failure details available. stderr output:
      • at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/4/s/macios/src/UIKit/UIApplication.cs:line 97
      • at MainClass.Main(String[] args) in /Users/builder/azdo/_work/4/s/macios/tests/common/AppDelegate.cs:line 89
      • at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException)
      • make[1]: *** [exec-maccatalyst-dotnet-x64-monotouch-test] Error 134
      • sed: ../.git: No such file or directory
      • fatal: not a git repository (or any of the parent directories): .git
      • fatal: not a git repository (or any of the parent directories): .git
      • The required Xcode (26.5) is not installed in /Applications/Xcode_26.5.0.app/Contents/Developer
      • /bin/sh: ./create-make-config.sh: No such file or directory
      • make: *** [exec-monotouch-test] Error 1

Html Report (VSDrops) Download

❌ Tests on macOS Sequoia (15) tests

5 tests failed, 0 tests passed.

Failed tests

  • dontlink: Failed (exit code 2)
    • No test failure details available. stderr output:
      • dlopen(__Internal, 0x0001): tried: '/System/iOSSupport__Internal' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/iOSSupport__Internal' (no such file), '/System/iOSSupport__Internal' (no such file), '__Internal' (no such file), '/System/Volumes/Preboot/Cryptexes/OS__Internal' (no such file), '/Users/builder/azdo/_work/7/s/artifacts/mac-test-package/tests/linker/dont link/dotnet/MacCatalyst/bin/Debug/net11.0-maccatalyst/maccatalyst-arm64/dont link.app/Contents/MonoBundle/__Internal' (no such file), '/usr/lib/__Internal' (no such file, not in dyld cache), '__Internal' (no such file)
      • dlopen(/lib__Internal, 0x0001): tried: '/System/iOSSupport/lib__Internal' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/iOSSupport/lib__Internal' (no such file), '/System/iOSSupport/lib__Internal' (no such file), '/lib__Internal' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/lib__Internal' (no such file), '/lib__Internal' (no such file)
      • `dlopen(/Users/builder/azdo/_work/7/s/artifacts/mac-test-package/tests/linker/dont link/dotnet/MacCatalyst/bin/Debug/net11.0-maccatalyst/maccatalyst-arm64/dont link.app/Contents/MonoBundle/lib__Internal, 0x0001): tried: '/System/iOSSupport/Users/builder/azdo/_work/7/s/artifacts/mac-test-package/tests/linker/dont link/dotnet/MacCatalyst/bin/Debug/net11.0-maccatalyst/maccatalyst-arm64/dont link.app/Contents/MonoBundle/lib__Internal' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/iOSSupport/Users/builder/azdo/_work/7/s/artifacts/mac-test-package/tests/linker/dont link/dotnet/MacCatalyst/bin/Debug/net11.0-maccatalyst/maccatalyst-\n\nThe message from CI is too large for the GitHub comments. You can find the full results here.

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [PR Build #ee96bac] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: ee96bac6fbe932158cbbb647127854772a9d5cef [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [PR Build #ee96bac] Build passed (Build packages) ✅

Pipeline on Agent
Hash: ee96bac6fbe932158cbbb647127854772a9d5cef [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: ee96bac6fbe932158cbbb647127854772a9d5cef [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [PR Build #ee96bac] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: ee96bac6fbe932158cbbb647127854772a9d5cef [PR build]

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.

6 participants