-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Debugging causes "More than one build script specified" error if a space exists in the file path #85
Comments
What happens if you quoted your document? I.e. "\"${workspaceRoot}/build.cake\"" |
I did give that a go. Unfortunately the same error occurred. |
I have the same issue |
This is an issue with VSCode's launch behavior. I investigated this months ago. You could fix this in Cake, but the underlying issue is that VSCode escapes quotes from strings in the launch.json before passing it to the executable. Where exactly this is happening inside vscode i don't know (i am having a really hard time getting behind typescript project structure), but i debugged into omnisharp to know its happening in vscode not in omnisharp. |
…use we needed to tie the various user input scripts together before launching the build.ps1. My options were to write an argument builder for the build.ps1, or just move the build.ps1 and edit it a very little bit. • Adjusted the build.cake for the cake location move. • Adjusted git.ignore for the cake location move • Adjusted Readme.md with an accurate and current process Current Known Bugs: • If you try to include verbosity along with a target it tell you “More than one build script specified” this is apparently an issue with cake: cake-build/cake-vscode#85 • The Upload script fails in cake for some reason I haven’t investigated at all, might be a simple fix idk yet
…use we needed to tie the various user input scripts together before launching the build.ps1. My options were to write an argument builder for the build.ps1, or just move the build.ps1 and edit it a very little bit. • Adjusted the build.cake for the cake location move. • Adjusted git.ignore for the cake location move • Adjusted Readme.md with an accurate and current process Current Known Bugs: • If you try to include verbosity along with a target it tell you “More than one build script specified” this is apparently an issue with cake: cake-build/cake-vscode#85 • The Upload script fails in cake for some reason I haven’t investigated at all, might be a simple fix idk yet
If I try to debug a cake file in Visual Studio Code that contains a space in the directory name then I always get a "More than one build script specified" error. This doesn't occur if there are no spaces in the directory name.
I'm using the standard launch.json file specified below:
The output when I debug a build.cake file in the directory "D:\Temp\Cake Test" is as follows:
The text was updated successfully, but these errors were encountered: