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

Unquoted target directory variable in package template can fail for paths with spaces #1402

Closed
glopesdev opened this issue Jun 6, 2023 · 0 comments · Fixed by #1442
Closed
Labels
bug Something isn't working
Milestone

Comments

@glopesdev
Copy link
Member

The default package template provides a default launch profile for debugging specified in launchSettings.json which points the bootstrapper to the target directory:

"commandLineArgs": "--lib:$(TargetDir)."

Due to the way the bootstrapper parses command-line arguments, if the $(TargetDir) environment variable expands into a path with spaces, the components of the path before and after spaces may be interpreted as arguments rather than as part of the path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant