Skip to content

Conversation

rolfbjarne
Copy link
Member

Add methods to XamarinTask to execute a task remotely, and use these methods everywhere.

Also:

  • Show a (new) error if remote execution failed, and an error wasn't already reported.
  • Handle an exceptions and show a proper MSBuild error.

This reduces a lot of code duplication, and also improves error handling.

Fixes #23927.

rolfbjarne and others added 2 commits October 7, 2025 16:06
.

Add methods to XamarinTask to execute a task remotely, and use these methods everywhere.

Also:

* Show a (new) error if remote execution failed, and an error wasn't already reported.
* Handle an exceptions and show a proper MSBuild error.

This reduces a lot of code duplication, and also improves error handling.

Fixes #23927.
@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

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.

@rolfbjarne rolfbjarne marked this pull request as ready for review October 8, 2025 15:24
@rolfbjarne rolfbjarne requested review from emaf and mauroa as code owners October 8, 2025 15:24
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #a913d85] Build passed (Build packages) ✅

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
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: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #a913d85] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #a913d85] Tests on macOS M1 - Mac Monterey (12) passed 💻

All tests on macOS M1 - Mac Monterey (12) passed.

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #a913d85] Tests on macOS X64 - Mac Sonoma (14) passed 💻

All tests on macOS X64 - Mac Sonoma (14) passed.

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #a913d85] Tests on macOS arm64 - Mac Sequoia (15) passed 💻

All tests on macOS arm64 - Mac Sequoia (15) passed.

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #a913d85] Tests on macOS M1 - Mac Ventura (13) passed 💻

All tests on macOS M1 - Mac Ventura (13) passed.

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #a913d85] Tests on macOS arm64 - Mac Tahoe (26) passed 💻

All tests on macOS arm64 - Mac Tahoe (26) passed.

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build #a913d85] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 115 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 4 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 8 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 9 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 8 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 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

Pipeline on Agent
Hash: a913d853a2592cbd242e952a8ea41be55f66365f [PR build]

var taskRunner = new TaskRunner (SessionId, BuildEngine4);
var success = base.ExecuteRemotely (out var taskRunner);

try {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we keep the try/catch around the GetFileAsync call?

@rolfbjarne rolfbjarne merged commit 9c1feae into main Oct 13, 2025
45 checks passed
@rolfbjarne rolfbjarne deleted the dev/rolf/issue-23927-skip-verify-xcode-when-no-remote-mac branch October 13, 2025 08:53
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.

[System.Version]::Parse('') error during rebuild with .NET 9 iOS SDK

5 participants