为 Visual Studio 2015 社区中的现有 C# 控制台应用程序创建服务安装程序 [英] Create service installer for existing C# console application in Visual Studio 2015 Community

查看:22
本文介绍了为 Visual Studio 2015 社区中的现有 C# 控制台应用程序创建服务安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序(C# 控制台应用程序).
我知道在 Visual Studio 2008 中是创建安装项目"的模板.
在 Visual Studio 2015 社区中,此模板不可用.

VS 2015 中的哪些工具可以帮助我将应用打包为 Windows 服务(在 Windows 7 中)并为其创建安装程序?

I have an app (C# Console application).
I know that in Visual Studio 2008 was the template for creating "Setup project".
In Visual Studio 2015 Community this template is not available.

What tools inside VS 2015 could help me to pack my app as a Windows service (within Windows 7) and create installer for it?

推荐答案

您可能想查看这个 vs2k15 的扩展:
https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c3700-40a-8797-c509fb8933b9

You may want to check out this extension for vs2k15:
https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9

此外,学习曲线有点陡峭,但 WiX 被广泛接受为为 Windows 应用程序创建安装程序的非常好的解决方案.在此处阅读更多相关信息:

Also the learning curve is a bit steep but WiX is widely accepted as a very good solution for creating installers for windows apps. Read more about it here:

http://wixtoolset.org/

这篇关于为 Visual Studio 2015 社区中的现有 C# 控制台应用程序创建服务安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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