jabbera / my-vsts-tasks

20 stars 18 forks source link

Spaces not supported in service display name and service description #13

Closed mikanyg closed 6 years ago

mikanyg commented 7 years ago

I get the following error when setting service display name and service description using the topshelf installer task to strings containing characters and spaces.

Topshelf.HostFactory Error: 0 : An exception occurred creating the host, Topshelf.HostConfigurationException: The service was not properly configured:

The task itself did not fail, but adding system.debug variable showed why service could not be found on target machine.

Even tried wrapping in single and double quotes with same result.

ferarias commented 7 years ago

I have created a pull request to solve this.