Skip to content

Fix launchSettings arguments for paths containing spaces - #578

Merged
ikkentim merged 2 commits into
ikkentim:mainfrom
aurora-mp:main
May 19, 2026
Merged

ikkentim merged 2 commits into
ikkentim:mainfrom
aurora-mp:main

Conversation

@NeekoGta

Copy link
Copy Markdown
Contributor

The generated launchSettings.json currently passes sampsharp.directory=$(TargetDir) without quoting the full key=value argument.

When the project path contains spaces, for example c:\Path With Spaces\..., open.mp receives a truncated value such as c:\Path, causing SampSharp to fail loading the .runtimeconfig.json.

NeekoGta added 2 commits May 19, 2026 10:19
The generated launchSettings.json currently passes `sampsharp.directory=$(TargetDir)` without quoting the full `key=value` argument.

When the project path contains spaces, for example `c:\Path With Spaces\...`, open.mp receives a truncated value such as `c:\Path`, causing SampSharp to fail loading the `.runtimeconfig.json`.
@ikkentim
ikkentim merged commit 07da702 into ikkentim:main May 19, 2026
1 check passed
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.

2 participants