• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6826
  • Last Modified:

How can I install missing Windows Forms Application template in Visual Studio 2010?

The Windows Forms Application template is missing from my version of Visual Studio 2010. Iy is not an option when I create a New Project.

I found a resource which said to run VBExpress /installvstemplates but I don't have that file either so I ran VWDExpress /installvstemplates.

Nothing seemed to happen. Then it said to reinstall Visual Studio but it took forever for the first install.

Is there an easy way to install this missing template?
0
dperlma
Asked:
dperlma
3 Solutions
 
DhaestCommented:
What you can try is the following:
To add missing templates you need to run following command on visual studio command prompt.
Close all instance of Visual Studio. Open visual studio command prompt and type,
devenv /installvstemplates
Press Enter. Let the process be complete and now open visual studio. You will get all missing templates under Visual Studio installed templates.
Source: http://chiragrdarji.wordpress.com/2008/05/06/missing-templates-in-visual-studio-installed-templates/

For reference the templates are stored in the VS directory.  You should start there to verify they exist.  The default templates are found at <VSDIR>\Common7\IDE\ItemTemplates.  There is a subdirectory for the various languages and, within there, folders for the various template collections.


Howto create your own template:
A Template for C# Windows Applications
http://ondotnet.com/pub/a/dotnet/2002/05/13/template.html
0
 
Carl TawnSystems and Integration DeveloperCommented:
Are you actually running a full-blown VS2010, or have you just installed VWD?
0
 
CodeCruiserCommented:
You may have installed the Visual Web Developer which is used for working with ASP.NET hence it does not include the Windows Forms templates. Also, the template is called "Windows Application".
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
dperlmaAuthor Commented:
I am running Visual Web Developer Express. Is that the problem? Can I get all the templates?

Also, I didn't understand that part about opening the Visual Studio command prompt. How do I do that?
0
 
CodeCruiserCommented:
VWD does not support Winforms apps. Download the Visual Basic Express


http://www.microsoft.com/express/Windows/
0
 
Carl TawnSystems and Integration DeveloperCommented:
No you can't. Visual Web Developer doesn't support developing Windows Applications, which is why it has "Web" in the name. You will need to download Visual Studio Express (or Visual C# Express it might be called) to develop windows apps.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now