Reputation: 1018
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?
Upvotes: 2
Views: 1967
Reputation: 50002
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/
.
If you don't have a shared server you can use something like Dropbox to achieve the same effect.
Upvotes: 4
Reputation: 11
I prefer adding my templates in a VisualStudio\Templates
folder in my source code under version control and then asking all my colleagues to change their "User project templates location," which is specified in the Projects and Solutions section of the Visual Studio Options dialog to point to this location. Then I'll have:
Upvotes: 1
Reputation: 86789
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.
Upvotes: 2