views:

26

answers:

1

I tried to edit a project template after exporting it from vs2010 by extracting it and after editing compressing it again. But after that it won't show up in visual studios new project dialog.

So I tried it again, without the editing. Just extract and compress again. I even used windows zip mechanisms, but still wont work. Only the exported template works fine.

I also tried what's written here: http://msdn.microsoft.com/en-us/library/ms185298.aspx to no avail.

So is there some magic incantation nobody told me about to get it to work?

A: 

There are actually two places where templates are kept. *Templates and *TemplatesCache (where * is Item or Project). You need to update the template in both places. Note, the cache has the templates extracted from the zip file in a subdirectory that has the same name as the zip.

Will
where can I find this cache for VS2010? c:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\10.0\ does not contain any templatesCache folder like the others.
Sven Hecht
@Sven its under ProgramFiles. For me, C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache\
Will