Microsoft Developer Network > Página principal de foros > Visual Studio Setup and Installation > Cannot find Windows Service Template in Visual Studio 2005 Standard Edition! Any other way to get it?
Formular una preguntaFormular una pregunta
 

RespondidaCannot find Windows Service Template in Visual Studio 2005 Standard Edition! Any other way to get it?

  • jueves, 12 de julio de 2007 11:39Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

Respuestas

  • jueves, 19 de julio de 2007 11:07Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    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!

  • lunes, 16 de julio de 2007 11:10Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    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

Todas las respuestas

  • lunes, 16 de julio de 2007 11:10Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    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

  • jueves, 19 de julio de 2007 9:14Simone Romano Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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
  • jueves, 19 de julio de 2007 11:07Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    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!

  • jueves, 19 de julio de 2007 11:57Simone Romano Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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

  • jueves, 19 de julio de 2007 12:11Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

  • jueves, 19 de julio de 2007 12:50Simone Romano Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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:

        ' 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

    If this could help others...
    bye
  • viernes, 20 de julio de 2007 16:32Flavb Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

  • viernes, 20 de julio de 2007 16:37Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Yea sure on your way! First copy the zipped files den run the install command. Cheers
  • domingo, 22 de julio de 2007 13:28Tone Southerland Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

  • domingo, 22 de julio de 2007 13:33Tone Southerland Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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.
  • lunes, 23 de julio de 2007 13:52GermanD Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    Hi,

    Please could you email me the template as well to deonmeyer@gmail.com

    Greatly appreciated.

    Thanks

  • lunes, 23 de julio de 2007 15:36jdelatorre Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    If you have the VB version of the Service Template  could you plz send it to joel.delatorre@gmail.com 

    Thanks!!
  • martes, 24 de julio de 2007 1:35Tnsai Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

  • martes, 24 de julio de 2007 10:24Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Sure its on your way at tnsai@tnsai.org.
  • miércoles, 25 de julio de 2007 10:48Sr Chas JC Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    Could I get you to send me the template as well? Email is srchasjc@hotmail.com

    Thanks in advance!

  • viernes, 27 de julio de 2007 7:37Beethoven5th Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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!

     

  • viernes, 27 de julio de 2007 7:44Beethoven5th Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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!

  • viernes, 27 de julio de 2007 20:28Francisco J. S_ Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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!

  • sábado, 28 de julio de 2007 2:34rdp21 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Would you mind sending it to me as well.  Thanks

    richie dot pierce at gmail.com
  • sábado, 28 de julio de 2007 9:00e-drago Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

  • lunes, 30 de julio de 2007 11:09Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

     

    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

  • lunes, 30 de julio de 2007 11:15Nom84 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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.

  • martes, 14 de agosto de 2007 19:39SRIT Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

     

  • viernes, 07 de septiembre de 2007 16:37JudgeKing Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    I had the same problem and this fixed it, thanks very much!

     

    -J

     

  • jueves, 11 de octubre de 2007 14:22rto Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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 / Downloads
     
     
     
    Regards
     
    Rob
  • viernes, 19 de octubre de 2007 17:53A Mei Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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.

     

  • domingo, 01 de junio de 2008 5:30TheRealSimpleSimon Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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!!!

  • jueves, 18 de septiembre de 2008 9:25Byapti Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
      

    Hi,
    I think “Working with Windows service Using Visual Studio 2005” article on

    http://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




  • viernes, 07 de agosto de 2009 0:45Vishal_MSDN Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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
  • domingo, 27 de septiembre de 2009 14:39nad123 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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 ..
  • lunes, 23 de noviembre de 2009 3:26vijeyan Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

  • lunes, 23 de noviembre de 2009 6:06nad123 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    just follow this link if u haven't already, it was on a previous post in this page - http://www.megaupload.com/?d=U0F8A8D6 .