no visual studio template found  
Author Message
amy0625





PostPosted: Visual C# Express Edition, no visual studio template found Top

I just installed the recently released Visual C# 2005 Express.
When i tried to create a new project. I got this error message "no visual studio template found".

I went to the "event viewer" in "Administrative Tools" to see the log. I found the message :
"The Visual Studio template information is out of date. Regenerate the templates by running 'VWDExpress /installvstemplates' or reinstalling Visual Studio.  Note: corrective action requires Administrator privileges. "

I reinstalled the VC# but the problem is still there.

Anyone met this problem before


Visual Studio Express Editions28  
 
 
Saurabh Nandu





PostPosted: Visual C# Express Edition, no visual studio template found Top

I have shifted your thread to the VC# Express Forum so that you get a better response.

Regards,
Saurabh Nandu
www.MasterCSharp.com

 
 
Prasadi de Silva MSFT





PostPosted: Visual C# Express Edition, no visual studio template found Top

Hi, it looks like your project templates were corrupted during install. To correct this please run 'VCSExpress /installvstemplates' from a visual studio command prompt. This will attempt to recreate the template cache so that the project templates can be correctly displayed in the new project dialog.

Let us know if this doesn't resolve the issue for you.
-Prasadi

 
 
Besnik.S





PostPosted: Visual C# Express Edition, no visual studio template found Top

I have the same problem. Reinstalling does not solve the problem. I've tried 'VCSExpress /installvstemplates' and I get an error message :

Invalid Command Line. Unknown Switch : installvstemplate.

And there is no similar switch in the list

 
 
Prasadi de Silva MSFT





PostPosted: Visual C# Express Edition, no visual studio template found Top

It should be 'InstallVsTemplates' (note the 's' at the end).

 
 
Besnik.S





PostPosted: Visual C# Express Edition, no visual studio template found Top

Thanks! It worked !

 
 
jm.blairon





PostPosted: Visual C# Express Edition, no visual studio template found Top

Hello,

I have the same problem.

where is the visual command prompt

I only have access to the IDE gui.



 
 
tommy khan





PostPosted: Visual C# Express Edition, no visual studio template found Top

I am beginner with the whole VStudio/VC# framework.

I have the same problem as cited above in the thread.

I was hoping somebody would tell me how to go about running the above prompt. All I have with C# Express is the standard Command Prompt and don't know how to go about running the command that worked for you.



 
 
tommy khan





PostPosted: Visual C# Express Edition, no visual studio template found Top

Sorry, folks.

Figured out how to work around this problem.

For those uninitiated as myself:

1. Open command prompt START --> ACCESORIES --> COMMAND PROMPT

2. Type cd C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

This above prompt takes the user to the appropriate subdirectory.

3. Type VCSExpress/installvstemplates

4. Close your C# window, if open.

5. Restart, FILE --> NEW PROJECTS and you should see the templates launched.



 
 
Aspded





PostPosted: Visual C# Express Edition, no visual studio template found Top

With you until step 3.

I don't have an executable called VCSExpress so the command doesn't work.

I have one called vsta.exe but when I apply the switch /installvstemplates it doesn't recognise that parameter...

:(


 
 
Prasadi de Silva MSFT





PostPosted: Visual C# Express Edition, no visual studio template found Top

What version of Visual Studio do you have installed VCSExpress is specific to Visual studio C# express edition. For VB it would be VBExpress.exe and for J# it would be VJSEXpress.exe respectively. For a full version of Visual studio (standard, pro etc.) the command would be devenv.exe /installvstemplates.

For C++ this command doesn't apply.

Hope that helps,

-Prasadi



 
 
2theLake





PostPosted: Visual C# Express Edition, no visual studio template found Top

I have visual studio profesional 2005. when I click on Create: Web Site, I get the same error.

 

I have tried your solution above and also tried re-installing but still get the same error.

 

This occurs when I try to create any type of project. Also, I cannot create any VB,C# or J# project even though they are installed. I can't even get started.

What now

-Michael


 
 
Prasadi de Silva MSFT





PostPosted: Visual C# Express Edition, no visual studio template found Top

What error do you get when you try to create a new website Can you see the templates when you open the "Add->new->Website" dialog

 
 
mtnanhu





PostPosted: Visual C# Express Edition, no visual studio template found Top

Hi,
I tried the command "VCSExpress /installvstemplates" but it did not help.
I still got the same template not found error. I have 2005 Express edition on XPpro SP2.

Thanks.

 
 
Prasadi de Silva MSFT





PostPosted: Visual C# Express Edition, no visual studio template found Top

What template are you trying to create Do you see any templates in the File->New project dialog

-Prasadi