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

前端 未结 11 1943
悲&欢浪女
悲&欢浪女 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 10:01

    You don't need the Visual Studio 2008 Command Prompt. You need the InstallUtil.exe program which can be found in

    C:\Windows\Microsoft.NET\Framework\v2.0.50727

    On x64 machines there's also a 64-bit version in

    C:\Windows\Microsoft.NET\Framework64\v2.0.50727

    These directories are obviously only available when .NET is installed.

提交回复
热议问题