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

Command line build fails if path contains spaces #55

Open
kevinobee opened this issue Feb 1, 2016 · 1 comment
Open

Command line build fails if path contains spaces #55

kevinobee opened this issue Feb 1, 2016 · 1 comment
Labels

Comments

@kevinobee
Copy link
Owner

Directory paths are not properly quoted, causing the command line build to fail to getnerate a package as shown below

StdPackage:
  C:\development\Open Source\ship\.nuget\nuget.exe pack  C:\development\Open Source\ship\Build\packaging\Sitecore.Ship.AspNet.nus
  pec -Verbosity detailed -Version 0.4.0.160201 -OutputDirectory C:\development\Open Source\ship\artifacts\Packages
  'C:\development\Open' is not recognized as an internal or external command,
  operable program or batch file.
C:\development\Open Source\ship\Build\build.targets(94,5): error MSB3073: The command "C:\development\Open Source\ship\.nuget\nug
et.exe pack  C:\development\Open Source\ship\Build\packaging\Sitecore.Ship.AspNet.nuspec -Verbosity detailed -Version 0.4.0.16020
1 -OutputDirectory C:\development\Open Source\ship\artifacts\Packages" exited with code 9009. [C:\development\Open Source\ship\Bu
ild\Build.proj]
Done Building Project "C:\development\Open Source\ship\Build\Build.proj" (Go target(s)) -- FAILED.


Build FAILED.

"C:\development\Open Source\ship\Build\Build.proj" (Go target) (1) ->
(StdPackage target) ->
  C:\development\Open Source\ship\Build\build.targets(94,5): error MSB3073: The command "C:\development\Open Source\ship\.nuget\n
uget.exe pack  C:\development\Open Source\ship\Build\packaging\Sitecore.Ship.AspNet.nuspec -Verbosity detailed -Version 0.4.0.160
201 -OutputDirectory C:\development\Open Source\ship\artifacts\Packages" exited with code 9009. [C:\development\Open Source\ship\
Build\Build.proj]
@kevinobee kevinobee added the bug label Feb 1, 2016
@kevinobee
Copy link
Owner Author

Temporary workaround: Ensure path to repos does not contain spaces.

I'll fix as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant