generator-team
generator-team copied to clipboard
Space in Application Name creates invalid .NET Core Project
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.
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