StyleCop Compliant Visual Studio Project & Item Templates - October 2010
Welcome to the first release of StyleCop Compliant Visual Studio project & item templates where you will the core project & item templates, from Visual Studio 2010 Ultimate, refactored to adhere to the code style requirements enforced by the current release of StyleCop.
Additional project & item templates are provided for Windows Phone 7 and Silverlight 4.0, future releases will be made available with Windows Azure templates.
An associated project provides StyleCop Compliant Visual Studio Code Snippets and it is recommended to use these templates alongside the code snippets from that project.
Visual Studio 2010 item & project templates are installed in either of the following folders, depending upon the operating system architecture:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates
Visual Studio 2010 actually reads the templates from cache folders and not the above folders and so to complete the installation you'll need to refresh the cache by running the following command as an administrator. Within the Visual Studio 2010\Visual Studio Tools\ program folder you'll find a command prompt that will have the required path environment variable configured so that it will find the devenv.exe executable.
Running this command will not affect any changes you may have made to the Visual Studio options, such as fonts and font colors, although it will copy the templates from the above folders to the following cache folders.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache