Skip to content

Publish fails when the output folder passed as argument has spaces #4593

@Sridhar-MS

Description

@Sridhar-MS

ddcloud@ddsridhper028:~/cli/artifacts/ubuntu.14.04-x64/stage2/bin$ ./dotnet publish /home/ddcloud/cli/test/TestProjects/TestApp -o "/home/ddcloud/dir with spaces"
Specify --help for a list of available options and commands.
Microsoft.Dnx.Runtime.Common.CommandLine.CommandParsingException: Unrecognized command or argument 'with'
at Microsoft.Dnx.Runtime.Common.CommandLine.CommandLineApplication.HandleUnexpectedArg(CommandLineApplication command, String[] args, Int32 index, String argTypeName)
at Microsoft.Dnx.Runtime.Common.CommandLine.CommandLineApplication.Execute(String[] args)
at Microsoft.DotNet.Tools.Publish.Program.Main(String[] args)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions