Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes situation where path to mlaunch has spaces #22482

Closed

Conversation

NatElkins
Copy link
Contributor

@NatElkins NatElkins commented Mar 26, 2025

Fixes #22481

I think the more correct thing to do would be to try and fix Mlaunch directly, but trying to do something like:

<MlaunchPath>%27$(MlaunchPath)%27</MlaunchPath>

did not work, nor any other weird escaping things I tried.

…ry/Application Support/dnvm/dn/sdk]

6.0.425 [/Users/nat/Library/Application Support/dnvm/dn/sdk]
6.0.428 [/Users/nat/Library/Application Support/dnvm/dn/sdk]
8.0.303 [/Users/nat/Library/Application Support/dnvm/dn/sdk]
8.0.402 [/Users/nat/Library/Application Support/dnvm/dn/sdk]
9.0.100 [/Users/nat/Library/Application Support/dnvm/dn/sdk]
9.0.101 [/Users/nat/Library/Application Support/dnvm/dn/sdk]
9.0.200 [/Users/nat/Library/Application Support/dnvm/dn/sdk] will work if the path to  has spaces.
@NatElkins
Copy link
Contributor Author

Although it does seem strange to me that <RunCommand>'$(MlaunchPath)'</RunCommand> works, but <MlaunchPath>'$(MlaunchPath)'</MlaunchPath> doesn't.

@rolfbjarne
Copy link
Member

Our CI doesn't work correctly when PRs are created from a fork, so I re-created this PR here: #22500, and I'll close this PR.

@rolfbjarne rolfbjarne closed this Mar 28, 2025
rolfbjarne added a commit that referenced this pull request Mar 31, 2025
…paces. Fixes #22481. (#22500)

Original PR #22482 contributed by @NatElkins.

Fixes #22481.

Co-authored-by: Nat Elkins <nathaniel.elkins@gmail.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.

dotnet build -f net9.0-ios fails if mlaunch path has spaces
2 participants