title: Windows Service Installer - Service name contains invalid characters, is empty, or is too long
body: <p>I've been following <a href="https://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx" rel="nofollow noreferrer">this MSDN article</a> about writing a Windows Service and accompanying installer. When I try to add the installer project and I right-click on the Design View and select 'Add Installer' I receive the following message:</p>
  
  <p><code>Service name contains invalid characters, is empty, or is too long</code></p>
  
  <p>My service name is set to "UploadManagerService". This doesn't contain any invalid characters that I'm aware of and is below the specified 80 character limit.</p>
  
  <p>I've read several articles on here about this problem. <a href="https://stackoverflow.com/questions/22641171/add-installer-says-service-name-contains-invalid-characters-is-empty-or-is-too">This answer</a> suggests that this is because the service name isn't set in Visual Studio though this is set in my case. I've also tried <a href="https://stackoverflow.com/questions/8516701/how-to-get-windows-service-name-from-app-config">setting the service name in the app.config</a> to see if that make any difference. Is there something else I could be missing or a way around this?</p>