views:

457

answers:

2

Hi All,

I have created a Custom C# Project Template for Visual Studio 2008. It works perfect. Only issue is that i have to place the zip file for the project template under the "C:\Documents and Settings\\My Documents\Visual Studio 2008\Templates\ItemTemplates\Visual C#"

Now as this folder is specific to each user on the machine, I will have to make sure that all the users on the machine has the project template installed seperately. Is there any way I can just install it once and all the users can get this project template.

In short can I change the Custom Project template Install directory?

+1  A: 

Try the C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates / ProjectTemplatesCache directory.

EDIT: Also, you can change the user project templates location in the Options dialog under Projects and Solutions -> General, however I believe these settings are per-user anyway.

Kragen
I have tried that but it doesn't show up in the Visual Studio Installed Template section. Any idea if there are any additional steps that are needed?
rauts
There is also a ProjectTemplatesCache directory, you could try putting an extracted copy of the template in that directory instead.
Kragen
no luck mate...it doesn't show up..
rauts
+1  A: 

Sorry I'm late to this question.

Put your template in a shared network location. Then In Tools/Options/Projects and Solutions/General/User project templates location, each developer should put the path to that folder, e.g. Z:/Visual Studio Templates/.

Herb Caudill