No Visual Studio template found error

The last few blogs that I posted about were about errors and there should be no surprise this time as I'm posting another error that I encountered today while firing up Visual Studio 2008 at home. The error that I received was, there was "no Visual Studio template found" and regardless of what framework I picked when creating a new website or project, no template was shown. Take note that I'm also using Microsoft Vista which also added to the issue (as I'll discuss in a few).

When I searched online, I found a dozen of posts from the different forums covering the error and to resolve this issue, I will need to bring up Visual Studio 2008 command prompt. This is pretty much the same as the regular command prompt but designed so that the listed directory is initiated in the installed Visual Studio 9.0 directory.

Users who are using the express edition will need to type: vcseexpress/installvstemplates (C#) while vbexpress.exe/installvstemplates for users that has VB installed. If you're using the pro edition, you will need to type in devenv.exe/installvstemplates to install the templates. While typing the command however, I was prompted by an error stating that the "requested operation requires elevation" which didn't make sense in the beginning. After a few minutes of digging in the web, I found the solution that I was looking for. You will need to bring up the Visual Studio 2008 command prompt alternatively by going to "All Programs>Microsoft Visual Studio 2008>Visual Studio tools and from there, you'll find the command prompt. Instead of clicking on it however, you will need to right-click it instead and run it as an administrator. This issue only occurs in Vista, so if you're using XP--you should be fine.

- Dennis
menacestudio.com

Published Friday, July 11, 2008 12:07 AM by the_menace
Filed under:

Comments

# re: No Visual Studio template found error

Wednesday, September 24, 2008 3:41 PM by Bryan Siegel

You are my super hero. Man I've been trying to figure out this problem for a week for vs pro 2008. I've been using expres and it hasn't been the same.

# re: No Visual Studio template found error

Wednesday, September 24, 2008 3:50 PM by the_menace

I'm glad that it worked for you.

Another option that I found which works if the command prompt option doesn't work is to change the 'projects location' in the Visual Studio > Options.

From the options screen, locate the "Projects and Solutions" and there you'll find that you can change the folder where the project templates resides. You can change that to the Program Files > Visual Studio 9 and browse it to the project templates sub directory. That should work as well.

# Pegasuz » Blog Archive » Verdwenen templates in Visual Studio 2008

Pingback from  Pegasuz  » Blog Archive   » Verdwenen templates in Visual Studio 2008

# re: No Visual Studio template found error

Wednesday, November 26, 2008 8:36 AM by Marcel

SUPER thanks.

Marcel

# re: No Visual Studio template found error

Friday, November 28, 2008 10:47 PM by Aurelia

Wonderful! Saved my project.

# re: No Visual Studio template found error

Thursday, February 19, 2009 12:27 AM by Prasad

Thanks Dennis.. It has saved my project. Thanks a lot..

# re: No Visual Studio template found error

Friday, May 29, 2009 1:21 AM by Brian

What an odd occurance.  Wonder what causes this.  Your solution was dead on.  Thanks very much and now back to work. You know I just recently had problems with an update attempt at .NET 3.5 SP1 updates for user family (or something like that) which I was prompted to do as a result of a recent move from SQL Server 2008 Trial to SQLExpress 2008.  I got caught in a bad install loop and had to do a System Restore.  So of course when this happened I suspected the culprit to be Microsoft.  Well I'm learning all this to add more skills to my consulting practice.  Hope all these scary moments will lead to some business.  Of course when I'm writing COBOL modules some other poor soul had to do all the admin for the software and development environments.

# re: No Visual Studio template found error

Friday, July 31, 2009 6:25 AM by Chris Francis

Brilliant! Thanks for pointing me in the right direction, just to note there were a couple of things I had to change when running Visual Studio Professional 2008 and Vista Ultimate SP2 (SP2 actually caused this issue in the first place):

1. When running VS Command Prompt as administrator, my default directory was reset to "C:/Windows/System32" (not the VS2008 install directory) so I had to manually navigate back to the "Microsoft Visual Studio 9.0" directory.

2. Typing "devenv.exe/installvstemplates" did nothing, but typing "devenv/installvstemplates" (removing the .exe file extension) did the trick.

Hope this helps someone.

Chris

# re: No Visual Studio template found error

Tuesday, August 18, 2009 10:25 AM by Matt3.5

I am running Vista Business Edition 32bit SP1 + VS2008 SP1 and experienced the same problem as Chris Francis above. Thankfully Chris is a very cool guy and posted up the solution!!

# re: No Visual Studio template found error

Thursday, September 10, 2009 10:00 AM by ibro

I have tried all the given examples but come to avail! I dont have the VS2008 pre installed project Template. I am using XP pack 3 and I have also got web developer express edition installed, where are my templates??

# re: No Visual Studio template found error

Friday, January 15, 2010 12:05 AM by khing pinto

Yes! this works to me.. Thank you..

# re: No Visual Studio template found error

Monday, January 18, 2010 1:11 PM by Bill Hooper

You are a lifesaver.  That was not as straightforward a task as other sites made it out to be!

# re: No Visual Studio template found error

Thursday, February 25, 2010 9:55 AM by ChrisPickus

I wonder why Microsoft just make something that works?

I uninstalled everything and reinstalled. Didn't fix my problem of being unable to create new DB from the datasource. I open the hepl file and it says i have to select the online option. to figure out how to do that, go to the Help file for Help. Huh? so i clear out my entire computer. format and reinstall windows. run all of the 75 windows updates (all this takes about 8 hrs of stareing at your computer for "alerts") after restarting 15 times i finally get a clean machine. Now I install the web platform installer and play it safe. Use all of the default setting on the installer and now i get this "No template thing" WTH. Where is this VS command prompt in vs? Search the help online form "No Templates" and you get "No results found", search for "find Template" and you get "Find Topics"

AAAH

# re: No Visual Studio template found error

Wednesday, June 02, 2010 11:52 AM by Learning Biztalk

Thanks so much Dennis for the Run as administrator trick and Chris for devenv instead of devenv.exe trick. Both helped me...

# re: No Visual Studio template found error

Sunday, September 19, 2010 9:55 AM by Priya

Hey........ devenv/installvstemplates works..... U r simply great..... Thanks :)

# re: No Visual Studio template found error

Wednesday, October 13, 2010 12:45 PM by Abdul wahab

Excellent!!!!Thank u very much

# re: No Visual Studio template found error

Sunday, January 23, 2011 12:47 PM by heba

changing the folder location

thanks alot

# re: No Visual Studio template found error

Wednesday, June 08, 2011 11:04 PM by Tanmay

U r simply amazing.i read a lot of forums and i was about to give up just when i found you..too good. thanks a ton.

Respect.

# re: No Visual Studio template found error

Saturday, August 27, 2011 11:40 PM by Prasad Kolhatkar (psdk)

Hello to All,

    For "No Visual Studio template found error"

just "Run VS2008 EXE as administrator by right clicking on EXE" works for me on Windows 7 OS

# re: No Visual Studio template found error

Thursday, July 12, 2012 8:05 PM by Ahmad Ali Maher

Thx .. it worked for me.

1. When running VS Command Prompt as administrator, my default directory was reset to "C:/Windows/System32" (not the VS2008 install directory) so I had to manually navigate back to the "Microsoft Visual Studio 9.0" directory.

2. Typing "devenv.exe/installvstemplates" did nothing, but typing "devenv/installvstemplates" (removing the .exe file extension) did the trick.

# re: No Visual Studio template found error

Monday, July 16, 2012 3:50 AM by Jon

Thanks Chris Francis "devenv/installvstemplates" w/o .exe did e trick for me (on win7)

# re: No Visual Studio template found error

Sunday, September 09, 2012 4:44 PM by Rino

Thanks! U r great!

# re: No Visual Studio template found error

Wednesday, November 07, 2012 11:30 AM by qBEFNaKyhDeZgMi

lhMj4E Really informative blog article.Much thanks again. Awesome.

# re: No Visual Studio template found error

Thursday, November 08, 2012 9:18 PM by fKeNHfrCrRLyMuogC

Im thankful for the article post.Really looking forward to read more. Awesome.

# re: No Visual Studio template found error

Sunday, November 18, 2012 9:25 AM by qTXJCgPHRskLBH

As usual, the webmaster posted correctly..!

# re: No Visual Studio template found error

Thursday, November 22, 2012 9:45 AM by mxATQeDIsQR

Author, keep doing  in the same way..!

# re: No Visual Studio template found error

Friday, November 23, 2012 7:04 PM by FHNcPPrawStBj

Fantastic post.Much thanks again. Much obliged.

# re: No Visual Studio template found error

Friday, November 23, 2012 8:45 PM by bbzFXOMMXtJoPWSM

Thanks a lot for the blog.Thanks Again. Really Great.

# re: No Visual Studio template found error

Friday, November 23, 2012 11:53 PM by sdqifxNcbQvHzYAsYBK

Major thanks for the article.Much thanks again. Great.

# re: No Visual Studio template found error

Saturday, November 24, 2012 1:34 AM by BxCCXiRNjmhBFZKY

Say, you got a nice article.Really looking forward to read more. Really Great.

# re: No Visual Studio template found error

Sunday, November 25, 2012 1:35 AM by UjqkOkKJkhnWvcfQH

Sent the first post, but it wasn`t published. I am writing the second. It's me, the African tourist.

# re: No Visual Studio template found error

Tuesday, November 27, 2012 9:28 AM by oiMNxGVxDcUxw

See it for the first time!!...

# re: No Visual Studio template found error

Wednesday, November 28, 2012 6:57 AM by daJPHoeMRqkTTC

It's straight to the point! You could not tell in other words! :D

# re: No Visual Studio template found error

Thursday, November 29, 2012 3:47 AM by NSESDkmIQQwL

I really liked your blog post.Much thanks again. Keep writing.

# re: No Visual Studio template found error

Tuesday, January 29, 2013 1:14 PM by Bounds

Hey! Someone in my Myspace group shared this website

with us so I came to look it over. I'm definitely loving the information. I'm bookmarking and

will be tweeting this to my followers! Outstanding blog

and terrific design and style.

# re: No Visual Studio template found error

Friday, February 01, 2013 6:13 AM by PZqkcmjTVWYFDnwtywO

kLHxf6 I truly appreciate this article post.Much thanks again. Want more.

# re: No Visual Studio template found error

Monday, April 15, 2013 9:27 PM by Hales

I always emailed this web site post page to all my friends, as if

like to read it after that my contacts will too.

# re: No Visual Studio template found error

Saturday, April 20, 2013 7:20 AM by ZsPYJsRqSMmWDq

wq7etD Muchos Gracias for your blog. Want more.

Leave a Comment

(required) 
(required) 
(optional)
(required)