Cannot find Windows Service Template in Visual Studio 2005 Standard Edition! Any other way to get it?
Hi there,
I have got visual studio 2005 standard edition installed on my machine but cannot find a windows service template. I have even tried re-installing it but no avail. Surprisingly my peers using the same version have the template available.
I am working with c# if that helps and i look for it, when i create a new project i choose windows within visual c# which has all the other template like windows application, console app, windows control library, class library, web control library and empty project templates, but no windows service template.
Is there a way to install it from the installation disk or download it?
Any help will be greatly appreciated.
Thanks
Nom
解答
Yea that was a bit strange too. I could not find that zip in my templates as well and that windows service zip is not even available to download. The zipped templates provided by the visual studio usually reside in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\Windows\1033 and i did not have the windows service zipped template where as all my other peers who have the same version installed has it.
So what is did is copied that zipped template from their pc to my folder and opened visual studio but still no template. So i ran the above install templates command from the visual studio command prompt. And it installed that zipped window service template. and then when i opened the vs again it was there.
Let me know if you want that zipped template and i will email it to you.
Regards
Noman M.
I HAVE BEEN GETTING MANY REQUEST TO EMAIL THE WINDOWS SERVICE TEMPLATE AND SPEND MOST OF MY DAY EMAILING IT. SO I DECIDED TO UPLOAD IT TO THE SERVER WHERE EVERYONE CAN DOWNLOAD IT FROM.
FOR THE VISUAL C# WINDOWS SERVICE GO TO http://www.megaupload.com/?d=U0F8A8D6.
FOR THE VISUAL BASIC WINDOWS SERVICE -> http://www.megaupload.com/?d=7YNTZDAN
GOOD LUCK PEOPLE!
- Got it - very simple. Worked likea charm. What happens is sometimes during installation or changes the templates dont get installed properly. All you have to do is open visual studio command prompt from Start -> All programs -> there should be Visual Studio there, select visual studio tool and select visual studio command prompt. Once you are on the command prompt type
devenv /installvstemplates. Hit enter sit back and relax. Once its done reopen visual studio and the templates should be there.
Try it hope it works.Thanks
所有回覆
- Got it - very simple. Worked likea charm. What happens is sometimes during installation or changes the templates dont get installed properly. All you have to do is open visual studio command prompt from Start -> All programs -> there should be Visual Studio there, select visual studio tool and select visual studio command prompt. Once you are on the command prompt type
devenv /installvstemplates. Hit enter sit back and relax. Once its done reopen visual studio and the templates should be there.
Try it hope it works.Thanks
- I've got the same problem, I tried to use "devenv /installvstemplates" but it doesn't work. I'm even not able to find the WindowsService.zip template file under the ProjectTemplates path of Visual Studio 2005. If this could help I've got a lot of templates installed, including .Net framework 3.0 vs extensions, WiX project extensions and third part projects templates, all of them work correctly. Since I did not use WindowsService template till now, I can't tell when it stopped work properly.
Thanks for help Yea that was a bit strange too. I could not find that zip in my templates as well and that windows service zip is not even available to download. The zipped templates provided by the visual studio usually reside in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\Windows\1033 and i did not have the windows service zipped template where as all my other peers who have the same version installed has it.
So what is did is copied that zipped template from their pc to my folder and opened visual studio but still no template. So i ran the above install templates command from the visual studio command prompt. And it installed that zipped window service template. and then when i opened the vs again it was there.
Let me know if you want that zipped template and i will email it to you.
Regards
Noman M.
I HAVE BEEN GETTING MANY REQUEST TO EMAIL THE WINDOWS SERVICE TEMPLATE AND SPEND MOST OF MY DAY EMAILING IT. SO I DECIDED TO UPLOAD IT TO THE SERVER WHERE EVERYONE CAN DOWNLOAD IT FROM.
FOR THE VISUAL C# WINDOWS SERVICE GO TO http://www.megaupload.com/?d=U0F8A8D6.
FOR THE VISUAL BASIC WINDOWS SERVICE -> http://www.megaupload.com/?d=7YNTZDAN
GOOD LUCK PEOPLE!
- yes, please, send me the the .zip template file. It would be great if you can send me also the VB version found on C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic\Windows\1033, cause I tried to make my own, but I wasn't able to tell the IDE not to search for a Main shared method as starting object.
Regards I have emailed it to your tiscali.it address. Let me know if you get them. Make sure you close all the vs windows and then run the install from the vs command prompt after putting those zipped files in their respective dir. Let me know how it goes.
Cheers
- It works fine, many thanks.
Just for saying, I was closer to the solution to build my own template than I thought; I only had to add to the Service.Designer.vb file for the template the main entry point as follows:
If this could help others...' The main entry point for the process
<MTAThread()> _
<System.Diagnostics.DebuggerNonUserCode()> _
Shared Sub Main()
Dim ServicesToRun() As System.ServiceProcess.ServiceBase
ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service1}
System.ServiceProcess.ServiceBase.Run(ServicesToRun)
End Sub
bye Would you mind send the Windows Service template also to me, please?
My e-mail address is flaeln@libero.it
I've got the same problem...
Thanks in advance
- Yea sure on your way! First copy the zipped files den run the install command. Cheers
Will you send it to me too please? - tone333@charter.net
Maybe Microsoft should make this file available somewhere?? I have 2 machines - one with Visual Studio enterprise, the other with Team Edition - neither of which have this template.
Thanks,
Tone
- Nevermind I found it when I expanded the Visual C# tree and looked in the Windows node. Before I was just looking in the parent (root) tree node.
Hi,
Please could you email me the template as well to deonmeyer@gmail.com
Greatly appreciated.
Thanks
- If you have the VB version of the Service Template could you plz send it to joel.delatorre@gmail.com
Thanks!! Hi,
Can someone send me the zip file as well?(for visual c#)
My address is tnsai at tnsai.org
Thanks in advance
Regards,
Darren
- Sure its on your way at tnsai@tnsai.org.
Could I get you to send me the template as well? Email is srchasjc@hotmail.com
Thanks in advance!
If you still have a template or copy of it, can you send me one?
I have a Yahoo! Disposable Address at chicken989-john@yahoo.com.au
I couldn't find any other template any-where but here.
If you send the message, thank you - I will appreciate it!
Hi!
I am using Visual C# 2005 Express and have not got the template yet.
Can you send one to chicken989-john@yahoo.com.au ??
Thank you - It will be very appreciated!
Guys, I installed VS 2005 Pro, and not only didn't it have the templates, but the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates directory (and ItemTemplates) was missing as well!
Can anyone help me?
PS: my installation only had two CDs, and the autorun pops up the SQL Server 2005 Development Edition installation, which includes the VS 2005... is this ok? Am I missing some CDs?
Thanks!
- Would you mind sending it to me as well. Thanks
richie dot pierce at gmail.com Would you be so kind to send me the Visual Basic versione of the template?
Thank you very much for you precious help.
my email is sbertelli@interfree.it
Hi there
I have the Standard Edition and in the Project Templates folder i have 4 folders. CSharp, JSharp, VB, and Web and each of them has folders which has templates based on the Service.
So you are saying your Project Templates Folder is completely empty and has nothing. And also if you have VS 2005 pro than why the pop up for the SQL open seems like its SQL Server 2005 with Visual Studio Express.
Can you provide more information.
Thanks
PLEASE NOTE:
If you are running VS Express Edition than I would suggest you to install the Standard Edition as you may not have the option to go to the Visual Studio tools command prompt to install the templates as Express Edition does not give you those benefits. You can download the standard edition for free from any torrent site.
Hi.
I had the same problem.
I just followed the instructions given above to copy the zip file and install it.
It works!!!!!!!
Thanks!!!!!!!
SRIT
I had the same problem and this fixed it, thanks very much!
-J
- I had the same problem with VS 2005 Express.I downloaded and installed the Service Pack 1 for this product from the microsoft site and it fixed it fine.That's avalable in the section: MSDN / Developer Centers / Visual Studio Developer Center / DownloadsRegardsRob
- Nom, can I possibly get a copy of the 2 windows service templates that you have? For C# and VB.NET? Thank you so much in advance.
- Just to let y'all know:
1. The download links still work.
2. I didn't have the VS...Tools in my Start;All Programs for some reason, but a standard command window works fine. Just do this:
cd C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
devenv /installvstemplates
Thanks much!!! Hi,
I think “Working with Windows service Using Visual Studio 2005” article onhttp://aspalliance.com/1316_Working_with_Windows_Service_Using_Visual_Studio_2005.all may be helpful in this discussion.
This popular white paper is written by a software engineer from our organization Mindfire Solutions (http://www.mindfiresolutions.com/).
I hope you find it useful!Cheers,
Byapti- Thanks a lot Nom84. It solved my problem.
I had VS 2008 Std Edition installed on Vista Home Premium. I think the standard edition does not have WindowsService project template.
I downloaded from the megaupload (for VB), copied it to the specified folder, closed Visual Studio, opened Visual Studio 2008 command prompt (if you have vista, right click the command prompt and click "Run As Administrator, as UAC feature of Vista blocks from performing the operation), ran the command to install the template, re-opened Visual Studio and it worked like a charm. I can now see the WindowsService template under Visual Basic -> Windows (that's where I copied).
Thanks again Nom84 :-)
Vishal
Vishal Sheth - I faced the same issue when starting a tutorial on how to create windows services.. got to say you have really helped me here too :) ... jst want to say thank you for your help ..
Would you mind send the Windows Service template also to me, please?
My e-mail address is vijeyan@gmail.com / vijeyan@yahoo.com
Thanks
Vijayakumar
- just follow this link if u haven't already, it was on a previous post in this page - http://www.megaupload.com/?d=U0F8A8D6 .

