Visual Studio no longer lets you add a new item from the installed templates

by Scosby Wednesday, July 28, 2010

I had this problem with Visual Studio over the last few weeks and finally decided to fix it today. I could no longer add a new Windows Form or User Control to my project...any project new or old, in fact. I could add classes, ect but not a Form or User Control.

Well, I did some digging and discovered that if you call devenv.exe /setup it will force Visual Studio to "rebuild" all of your available templates. Problem solved! This command line switch fixed my problem and hopefully it is helpful to you.

 Read more about devenv.exe /setup here.

Tags: , ,

IT | Programming

blog comments powered by Disqus