在 Windows 服务上设置版本 [英] Set version on a windows service
本文介绍了在 Windows 服务上设置版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个使用安装项目安装的 Windows 服务.一切正常,但我希望能够像设置程序集的 AssemblyVersion 一样设置服务版本.
I have a windows service that is installed using a setup project. Things work fine but I would like to be able to set the version of the service as I do with the AssemblyVersion of my assemblies.
我唯一能看到此版本号的地方是在添加或删除应用程序对话框中的应用程序列表中的版本列中.
The only place where I have been able to see this version number is in the version column in the listing of applications in the add or remove applications dialogue.
推荐答案
- 在解决方案资源管理器中突出显示您的设置项目.
- 然后选择您的属性"标签.(不要右键单击项目,这是违反直觉的)
- 在底部找到版本号,当要求更改产品代码时,选择是.
- 应该是这样.
希望有所帮助.
保罗
这篇关于在 Windows 服务上设置版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文