Visual Studio 2017的Windows服务模板 [英] Windows Service Template for Visual Studio 2017

查看:126
本文介绍了Visual Studio 2017的Windows服务模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,Visual Studio 2017中不再为新项目显示Windows服务模板....并且安装程序没有搜索"功能.

所有这些AZURE的东西都很棒,但是我仍然必须进行常规的本地"工作...而且我讨厌维护Visual Studio的2个版本.

这里有什么想法吗?

解决方案

只需在此处进行检查.我在Visual C#下的Windows Classic Desktop文件夹下看到项目"Windows Service(.NET Framework)".

(Visual Basic具有类似的条目.)

父文件夹中仅显示一些模板,要获得更多专业模板,您需要更具体.

但搜索也会找到两者.

注意,我在安装时选择了".NET Desktop"工作负载,但我发现您没有.

The Windows Service Template no longer displays by-default for new projects in Visual Studio 2017....and the installer has no 'search' capability.

All this AZURE stuff is great, but I still gotta do normal 'on-prem' work too...and I hate maintaining 2 versions of Visual Studio.

Any thoughts here?

解决方案

Just checked here. I see project "Windows Service (.NET Framework)" under the Windows Classic Desktop folder under Visual C#.

(Visual Basic has a similar entry.)

Only some templates are shown in parent folders, for more specialist templates you need to be more specific.

But also the search finds both.

NB I selected ".NET Desktop" workload on install, which I see you have not.

这篇关于Visual Studio 2017的Windows服务模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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