cake-build / resources

Contains different kind of resources such as bootstrappers and configuration files.
MIT License
54 stars 79 forks source link

Building from VS Code extension fails when inside directory with spaces in name #78

Closed Roadrunner67 closed 4 years ago

Roadrunner67 commented 4 years ago

Create a directory like "C:\Directory with spaces". Download build.ps1 and sample build.cake. From within VS Code (with Cake extension) click the "run task" over Task("Default").

This executes: Powershell -ExecutionPolicy ByPass -File build.ps1 -script "c:\Directory with spaces\build.cake" -target "Default" -verbosity normal

In build.ps1 the quotes surrounding script parameter are lost, leading to: "More than one build script specified."

Roadrunner67 commented 4 years ago

The PR #79 should handle this

devlead commented 4 years ago

Fixed by #79