amy0625

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


Re: Visual C# Express Edition no visual studio template found

Saurabh Nandu

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

Regards,
Saurabh Nandu
www.MasterCSharp.com




Re: Visual C# Express Edition no visual studio template found

Prasadi de Silva MSFT

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




Re: Visual C# Express Edition no visual studio template found

Besnik.S

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




Re: Visual C# Express Edition no visual studio template found

Prasadi de Silva MSFT

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




Re: Visual C# Express Edition no visual studio template found

Besnik.S

Thanks! It worked !




Re: Visual C# Express Edition no visual studio template found

jm.blairon

Hello,

I have the same problem.

where is the visual command prompt

I only have access to the IDE gui.






Re: Visual C# Express Edition no visual studio template found

tommy khan

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.






Re: Visual C# Express Edition no visual studio template found

tommy khan

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.






Re: Visual C# Express Edition no visual studio template found

Aspded

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...

:(





Re: Visual C# Express Edition no visual studio template found

Prasadi de Silva MSFT

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






Re: Visual C# Express Edition no visual studio template found

2theLake

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





Re: Visual C# Express Edition no visual studio template found

Prasadi de Silva MSFT

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




Re: Visual C# Express Edition no visual studio template found

mtnanhu

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.




Re: Visual C# Express Edition no visual studio template found

Prasadi de Silva MSFT

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

-Prasadi