[release/11.0.1xx-preview1] [msbuild] Fix listing devices with no udid. Fixes #24605.#24616
Conversation
In some cases, `devicectl` may list a device with no udid, so handle this by using the 'identifier' value as the udid. Fixes this problem: ``` error MSB4028: The "GetAvailableDevices" task's outputs could not be retrieved from the "DiscardedDevices" parameter. Parameter "includeEscaped" cannot have zero length. ``` Fixes #24605.
✅ [PR Build #6d6bab9] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [CI Build #6d6bab9] Build passed (Build packages) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #6d6bab9] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [CI Build #6d6bab9] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
💻 [CI Build #6d6bab9] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
💻 [CI Build #6d6bab9] Tests on macOS arm64 - Mac Tahoe (26) passed 💻✅ All tests on macOS arm64 - Mac Tahoe (26) passed. Pipeline on Agent |
🚀 [CI Build #6d6bab9] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 128 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
In some cases,
devicectlmay list a device with no udid, so handle this by using the 'identifier' value as the udid.Fixes this problem:
Fixes #24605.
Backport of #24607.