Skip to content

[mtouch] Guard RunRegistrar calls with platform ifdef checks - #25678

Merged
rolfbjarne merged 2 commits into
mainfrom
dev/rolf/platform-specific-linux-build
Jun 17, 2026
Merged

rolfbjarne merged 2 commits into
mainfrom
dev/rolf/platform-specific-linux-build

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

The no-xcode-build target (used on Linux) was unconditionally adding
registrar generation targets for all platforms. When some platforms are
disabled (e.g. only iOS is enabled), the prerequisite DLLs don't exist
and make fails with 'No rule to make target'.

Wrap each group of RunRegistrar eval calls with the corresponding
INCLUDE_IOS/INCLUDE_TVOS/INCLUDE_MACCATALYST/INCLUDE_MAC guards so
only enabled platforms have their registrar rules defined.

The no-xcode-build target (used on Linux) was unconditionally adding
registrar generation targets for all platforms. When some platforms are
disabled (e.g. only iOS is enabled), the prerequisite DLLs don't exist
and make fails with 'No rule to make target'.

Wrap each group of RunRegistrar eval calls with the corresponding
INCLUDE_IOS/INCLUDE_TVOS/INCLUDE_MACCATALYST/INCLUDE_MAC guards so
only enabled platforms have their registrar rules defined.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 15, 2026 11:36
@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes no-xcode-build (Linux/no-Xcode builds) by ensuring mtouch registrar-generation rules are only defined for platforms that are actually enabled in the current configuration, avoiding Make failures when prerequisite platform DLLs are missing.

Changes:

  • Wrapped each platform’s RunRegistrar $(eval ...) block in ifdef INCLUDE_ guards (iOS/tvOS/MacCatalyst/macOS).
  • Ensured no-xcode-build only pulls in registrar generation prerequisites for enabled platforms.

@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.

@rolfbjarne
rolfbjarne enabled auto-merge (squash) June 15, 2026 13:01
@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.

@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

Pipeline on Agent
Hash: d2755b087cc2d5ddc4d1feab2819a34fbb0c3a1d [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

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

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

Pipeline on Agent
Hash: d2755b087cc2d5ddc4d1feab2819a34fbb0c3a1d [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #d2755b0] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 20 tests failed, 173 tests passed.

Failures

❌ monotouch tests (tvOS)

20 tests failed, 0 tests passed.

Failed tests

  • monotouch-test/tvOS - simulator/Debug: HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (link sdk): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (link all): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (static registrar): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (all optimizations): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (ARM64): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (NativeAOT, ARM64): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, NativeAOT, ARM64): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (managed static registrar): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (managed static registrar, all optimizations): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (NativeAOT, x64): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, NativeAOT, x64): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (interpreter): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (interpreter): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (compat inline Class.GetHandle): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (strict inline Class.GetHandle): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (compat inline dlfcn): HarnessException (Harness exception for 'Tests for AFAC23D4-41AB-4160-BEB4-7F00FC8E7719': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test3/monotouch-test.csproj, build failed with exit code 139. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    \n\nThe message from CI is too large for the GitHub comments. You can find the full results here.

@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 #d2755b0] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 193 tests passed 🎉

Tests counts

✅ 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 11 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 11 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 23 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 23 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 20 tests passed. [attempt 7] 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 Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. Html Report (VSDrops) Download
✅ 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

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: d2755b087cc2d5ddc4d1feab2819a34fbb0c3a1d [PR build]

@rolfbjarne
rolfbjarne merged commit a590a84 into main Jun 17, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/platform-specific-linux-build branch June 17, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants