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

Allow paths with spaces for OutputDirectory on DotNetCore Aliases #1034

Closed
SavaNDragos opened this issue Jul 7, 2016 · 2 comments
Closed
Labels
Milestone

Comments

@SavaNDragos
Copy link

SavaNDragos commented Jul 7, 2016

I tried to run:

DotNetCoreAliases.DotNetCorePublish(inSolutionDetails.context, iterProjectLocation + "\\project.json", new DotNetCorePublishSettings() {
    Configuration = "Release",
    OutputDirectory =inSolutionDetails.ArtifactsFolder + "\\" + projectName,
});

Note: inSolutionDetails.ArtifactsFolder has spaces in it (\Visual Studio) and .NET Core CLI will return an error:

Unrecognize command or argument 'Studio'. 

The error is actually commind from the project.json location (I am sendinf the full path) not the OutputDirectory.

I used "\""+iterProjectLocation + "\\project.json\"" to specify the project location and it worked.

@patriksvensson
Copy link
Member

@SavaNDragos I moved your comments to the issue and fixed the formatting.

@gep13 gep13 changed the title Allow paths with spaces for OutputDirectory Allow paths with spaces for OutputDirectory on DotNetCore Aliases Jul 11, 2016
@gep13 gep13 added this to the v0.15.0 milestone Jul 14, 2016
@gep13 gep13 closed this as completed Jul 14, 2016
@gep13
Copy link
Member

gep13 commented Jul 14, 2016

@SavaNDragos this should be available in the next release of Cake.

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

3 participants