You can add an installer to your project by right click "Add installer".
Then command line to install your service is:
(Path to .NET Libraries .. e.g. C:\Windows\Microsoft.NET\Framework\v2.0.50727)
INSTALLUTIL myservice.exe and then it'll ask for credentials
SC is a more generic solution for installing any kind of executable as a service