|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Change Template Compiler Options
Template complier options are stored in the Visual Studio project file. If you change the compiler options for a template in Visual Studio and recreate the template, the new compiler options will be stored with the template.
To change template compiler options
On the File menu, click New, and then click Project.
Select the template that you want to update, enter a name and location for your temporary project, and click OK.
Modify the compiler options in Visual Studio.
Follow the steps outlined into use the Export Template wizard to create a new template.
Once the updated template is compressed into a .zip file, delete the old template .zip file.