Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1511237&view=logs&j=1a7f2d0f-403f-5f1a-afbb-20466d7ac54e
Build error leg or test failing: Build / ios-arm64 Release AllSubsets_NativeAOT / Send to Helix
Pull request: N/A
Error Message
DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.
Fill the error message using step by step known issues guidance.
{
"ErrorPattern": "sendtohelix-mobile\\.targets\\(\\d+,\\d+\\): error MSB4184: The expression \"\\[System\\.IO\\.Directory\\]::GetDirectories\\(.*?artifacts/helix/tests/?, \\*\\.app, System\\.IO\\.SearchOption\\.AllDirectories\\)\" cannot be evaluated\\. Could not find a part of the path '.*?artifacts/helix/tests'",
"BuildRetry": false,
"ExcludeConsoleLog": true
}/Users/runner/work/1/s/src/libraries/sendtohelix-mobile.targets(87,9): error MSB4184: The expression "[System.IO.Directory]::GetDirectories(/Users/runner/work/1/s/artifacts/helix/tests/, *.app, System.IO.SearchOption.AllDirectories)" cannot be evaluated. Could not find a part of the path '/Users/runner/work/1/s/artifacts/helix/tests'. [/Users/runner/work/1/s/src/libraries/sendtohelixhelp.proj]
The line at issue in src/libraries/sendtohelix-mobile.targets seems to be:
<XHarnessAppBundleToTest Condition="Exists('$(TestArchiveTestsRoot)')"
Include="$([System.IO.Directory]::GetDirectories('$(TestArchiveTestsRoot)', '*.app', System.IO.SearchOption.AllDirectories))">Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1511237
Error message validated: [sendtohelix-mobile\.targets\(\d+,\d+\): error MSB4184: The expression "\[System\.IO\.Directory\]::GetDirectories\(.*?artifacts/helix/tests/?, \*\.app, System\.IO\.SearchOption\.AllDirectories\)" cannot be evaluated\. Could not find a part of the path '.*?artifacts/helix/tests']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/16/2026 9:54:50 AM UTC
Report
| Build | Repository | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 1549457 | dotnet/runtime | Send to Helix | Log | #132194 |
| 1548978 | dotnet/runtime | Send to Helix | Log | #132160 |
| 1548825 | dotnet/runtime | Send to Helix | Log | #132152 |
| 1548190 | dotnet/runtime | Send to Helix | Log | |
| 1548239 | dotnet/runtime | Send to Helix | Log | #132129 |
| 1548187 | dotnet/runtime | Send to Helix | Log | |
| 1547925 | dotnet/runtime | Send to Helix | Log | #132119 |
| 1546713 | dotnet/runtime | Send to Helix | Log | |
| 1546722 | dotnet/runtime | Send to Helix | Log | |
| 1546640 | dotnet/runtime | Send to Helix | Log | |
| 1546636 | dotnet/runtime | Send to Helix | Log | |
| 1546374 | dotnet/runtime | Send to Helix | Log | |
| 1546380 | dotnet/runtime | Send to Helix | Log | #131941 |
| 1546377 | dotnet/runtime | Send to Helix | Log | |
| 1546360 | dotnet/runtime | Send to Helix | Log | |
| 1546363 | dotnet/runtime | Send to Helix | Log | |
| 1545214 | dotnet/runtime | Send to Helix | Log | #131847 |
| 1542613 | dotnet/runtime | Send to Helix | Log | |
| 1542620 | dotnet/runtime | Send to Helix | Log | #131941 |
| 1542610 | dotnet/runtime | Send to Helix | Log | |
| 1541212 | dotnet/runtime | Send to Helix | Log | #131888 |
| 1540328 | dotnet/runtime | Send to Helix | Log | #131847 |
| 1540329 | dotnet/runtime | Send to Helix | Log | #131848 |
| 1535725 | dotnet/runtime | Send to Helix | Log | #131691 |
| 1535743 | dotnet/runtime | Send to Helix | Log | #131692 |
| 3035806 | dotnet-runtime | Send to Helix | Log | #63382 |
| 1534582 | dotnet/runtime | Send to Helix | Log | |
| 1534579 | dotnet/runtime | Send to Helix | Log | |
| 3035181 | dotnet-runtime | Send to Helix | Log | #63382 |
| 1532536 | dotnet/runtime | Send to Helix | Log | #131126 |
| 1529749 | dotnet/runtime | Send to Helix | Log | |
| 1529746 | dotnet/runtime | Send to Helix | Log | |
| 1527539 | dotnet/runtime | Send to Helix | Log | #131409 |
| 1521355 | dotnet/runtime | Send to Helix | Log | |
| 1521562 | dotnet/runtime | Send to Helix | Log | #131214 |
| 1521102 | dotnet/runtime | Send to Helix | Log | |
| 1521269 | dotnet/runtime | Send to Helix | Log | |
| 1521099 | dotnet/runtime | Send to Helix | Log | |
| 1519700 | dotnet/runtime | Send to Helix | Log | |
| 1519953 | dotnet/runtime | Send to Helix | Log | |
| 1519926 | dotnet/runtime | Send to Helix | Log | |
| 1519781 | dotnet/runtime | Send to Helix | Log | #131148 |
| 1519697 | dotnet/runtime | Send to Helix | Log | |
| 1519006 | dotnet/runtime | Send to Helix | Log | #131126 |
| 1517802 | dotnet/runtime | Send to Helix | Log | #131078 |
| 1517726 | dotnet/runtime | Send to Helix | Log | #131077 |
| 1517648 | dotnet/runtime | Send to Helix | Log | #131074 |
| 1517098 | dotnet/runtime | Send to Helix | Log | #130787 |
| 1515072 | dotnet/runtime | Send to Helix | Log | |
| 3024988 | dotnet-runtime | Send to Helix | Log | #62989 |
| 1515069 | dotnet/runtime | Send to Helix | Log | |
| 1514458 | dotnet/runtime | Send to Helix | Log | |
| 1514464 | dotnet/runtime | Send to Helix | Log | #130862 |
| 1514455 | dotnet/runtime | Send to Helix | Log | |
| 1513554 | dotnet/runtime | Send to Helix | Log | #130724 |
| 1513383 | dotnet/runtime | Send to Helix | Log | #130915 |
| 1512245 | dotnet/runtime | Send to Helix | Log | |
| 1512242 | dotnet/runtime | Send to Helix | Log | |
| 1511237 | dotnet/runtime | Send to Helix | Log |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 6 | 21 | 59 |
Activity
[-]CI failure: MSBuild error in <XHarnessAppBundleToTest> because of a missing directory[/-][+]CI failure on 8.0: MSBuild error in <XHarnessAppBundleToTest> because of a missing directory[/+]dotnet-policy-service commentedon Jul 16, 2026
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.
svick commentedon Jul 17, 2026
cc: @davidnguyen-tech (I believe you're responsible for xharness now)
davidnguyen-tech commentedon Jul 20, 2026
Looking into it. Thanks for creating the issue :)
davidnguyen-tech commentedon Jul 22, 2026
This was triggered by #130473, which intentionally marked the only two tests selected by the .NET 8
iOS NativeAOT device leg as
IgnoreForCI:iOS.Device.Aot.TestiOS.Device.ExportManagedSymbols.TestThe CI leg remained scheduled, so it stopped producing
artifacts/helix/tests. The older .NET 8sendtohelix-mobile.targetsassumes that directory exists and callsDirectory.GetDirectories, whichcauses the reported MSB4184 before anything is sent to Helix.
We considered:
Exists(...)guards frommain: this prevents MSB4184, but the next check still failswith
No helix work itemsbecause there are no tests to submit.regressions in other legs.
that duplicates part of the Helix payload-discovery logic.
The draft fix keeps the iOS NativeAOT build and skips only its empty
Send to Helixstep. tvOS remainsunchanged. The pipeline comments explicitly call out that the iOS exclusion must be removed if device
tests are re-enabled:
#131209
Note
This comment was drafted with GitHub Copilot.
[release/8.0-staging] Skip empty iOS NativeAOT Helix submission (#131209
akoeplinger commentedon Aug 12, 2026
Fixed by #131209