Skip to content

[dotnet] Don't quote the 'RunCommand' property. - #25764

Merged
rolfbjarne merged 1 commit into
mainfrom
dev/rolf/runcommand-is-executable
Jun 23, 2026
Merged

[dotnet] Don't quote the 'RunCommand' property.#25764
rolfbjarne merged 1 commit into
mainfrom
dev/rolf/runcommand-is-executable

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

The 'RunCommand' property is supposed to be the path to a single executable, and as such should not be quoted.

See: dotnet/sdk#54917 (comment)

The 'RunCommand' property is supposed to be the path to a single executable, and as such should not be quoted.

See: dotnet/sdk#54917 (comment)
Copilot AI review requested due to automatic review settings June 22, 2026 15:24
@rolfbjarne
rolfbjarne enabled auto-merge (squash) June 22, 2026 15:24

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

Updates the .NET mobile SDK MSBuild targets so dotnet run receives an unquoted RunCommand (a single executable path), aligning with the SDK’s expectation that quoting is handled by the runner rather than embedded in the property value.

Changes:

  • Remove surrounding single quotes from RunCommand when setting it to $(MlaunchPath) in Microsoft.Sdk.Mobile.targets.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

Pipeline on Agent
Hash: fe75fd960aa05c78dbf201f0e5745c31127429cd [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

Pipeline on Agent
Hash: fe75fd960aa05c78dbf201f0e5745c31127429cd [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

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

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

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

Pipeline on Agent
Hash: fe75fd960aa05c78dbf201f0e5745c31127429cd [PR build]

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

Test results

✅ All tests passed on VSTS: test results.

🎉 All 207 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ 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 (iOS): All 15 tests passed. [attempt 4] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (tvOS): All 20 tests passed. [attempt 2] 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: fe75fd960aa05c78dbf201f0e5745c31127429cd [PR build]

@rolfbjarne
rolfbjarne merged commit 3e06bd3 into main Jun 23, 2026
57 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/runcommand-is-executable branch June 23, 2026 07:38
jonathanpeppers pushed a commit that referenced this pull request Jun 25, 2026
The 'RunCommand' property is supposed to be the path to a single executable, and as such should not be quoted.

See: dotnet/sdk#54917 (comment)
jonathanpeppers added a commit that referenced this pull request Jun 25, 2026
After cherry-picking PR #25764 which removes quotes from RunCommand,
update the MlaunchTest assertion to expect the unquoted path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

4 participants