Bick
Bick

Reputation: 18551

Only empty project template appears in Visual Studio when creating new project

On my desktop installation, when I open a new project I don't see any templates (e.g. console application) but the empty solution

here enter image description here

How can I open console application?
(I dont have an option to install it)

enter image description here

Upvotes: 1

Views: 2042

Answers (1)

Cyral
Cyral

Reputation: 14153

You can reinstall the default templates without reinstalling Visual Studio, to do this you need to open the VS location in command prompt, followed by the /installvstemplates command

Note: You need to run the command as an administrator

Express Version:

> cd C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\
> WDExpress.exe /installvstemplates

Other versions:

> cd C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\
> devenv.exe /installvstemplates

If that doesn't work, you will need to reinstall Visual Studio. You might want to check out this question, essentially you may have to uninstall and then reinstall Visual Studio, or "repair" it through the installer.

Most likely anyone could give you the files necessary but I don't believe Microsoft wants them distributed unofficially.

Upvotes: 2

Related Questions