352Microsoft Visual Studio 2010: A Beginner’s Guide

Figure 12-6 The Select Template Options window

item templates folder, you can verify that it’s been imported into VS by selecting an open project in Solution Explorer (open a new or existing project if one is not opened), pressing CTRL-SHIFT-A, and observing that Enum appears in the list in the New Item window.

If you had not checked “Automatically import the template into Visual Studio” (Figure 12-6), then you could have copied the Enum.zip file to the local project templates folder yourself and the project template would appear in VS. If you share Enum.zip file with another developer, he can copy to the local item templates folder also.

If you delete the file from the local item templates folder, it will no longer appear in the VS New Item window.

Another option for adding item templates is to copy the project templates file to a folder under \Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates, which I’ll call global item templates. There are various folders under global item templates,

Page 375
Image 375
Microsoft 9GD00001 manual Select Template Options window