[xabt] Implement DeployToDevice target
#10631
Open
+68
−31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Context: https://github.com/dotnet/sdk/blob/c164a9bc1246c48191fb780992530f0fe975141b/documentation/specs/dotnet-run-for-maui.md
Implements the
DeployToDeviceMSBuild target per thedotnet runspec for .NET MAUI scenarios. This target allows deploying an already-built app to a device without rebuilding, supporting thedotnet runworkflow.The target reuses existing deployment logic but skips the full build, enabling faster iteration when only deployment is needed e.g.
--no-build.Also consolidates
$(SignAndroidPackageDependsOn),$(InstallDependsOnTargets), and$(UninstallDependsOnTargets)properties intoBuildOrder.targetsto keep all target dependency ordering in one place.Adds test coverage to verify the target deploys successfully and the app can be launched via adb commands.