如何安装一个窗口服务到一台计算机没有安装Visual Studio的? [英] How can I install a windows service onto a machine that doesn't have Visual Studio installed?

查看:169
本文介绍了如何安装一个窗口服务到一台计算机没有安装Visual Studio的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装Windows服务,我知道正在使用的唯一方法 Visual Studio 2008的命令提示符,有没有一种方法,以一台机器是不是有安装了Visual Studio上安装Windows服务(假设已安装.NET版本2.X。)

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't having Visual Studio installed (assume that .Net version 2.X is installed.)

推荐答案

您可以使用 installUtil 做驻留在.NET Framework文件夹(在我的机器上的C语言:\ WINDOWS \ Microsoft.NET \框架\ V2.0.50727)

you can do it with installUtil which resides in the .net framework folder (on my machine it's C:\Windows\Microsoft.NET\Framework\v2.0.50727).

这篇关于如何安装一个窗口服务到一台计算机没有安装Visual Studio的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆