How can I install a windows service onto a machine that doesn't have Visual Studio installed?

前端 未结 11 2014
悲&欢浪女
悲&欢浪女 2021-01-31 09:08

The only way to install windows-service I know is using \"Visual Studio 2008 Command Prompt\", Is there a way to install windows-service on a machine which isn\

11条回答
  •  眼角桃花
    2021-01-31 09:50

    Relevant MSDN page: http://msdn.microsoft.com/en-us/library/sd8zc8ha%28VS.80%29.aspx

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installutil.exe yourproject.exe
    

    You don't need to have Visual Studio installed for this to work.

提交回复
热议问题