generator-team icon indicating copy to clipboard operation
generator-team copied to clipboard

Space in Application Name creates invalid .NET Core Project

Open usepowershell opened this issue 6 years ago • 1 comments

When creating a .NET Core app, if the application name provided has a space in it, then namespaces in the application generated are invalid, leading to failed builds.

usepowershell avatar Aug 21 '19 20:08 usepowershell

Additionally, with the publish command, the output argument is not quoted, leading to failure of the step.

example - with Build.StagingDirectory being the same as the application name, which has spaces:

--configuration $(BuildConfiguration) --output $(Build.StagingDirectory)/pub

usepowershell avatar Aug 21 '19 20:08 usepowershell