How to: Change Template Compiler Options
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

  1. On the File menu, click New, and then click Project.

  2. Select the template that you want to update, enter a name and location for your temporary project, and click OK.

  3. Modify the compiler options in Visual Studio.

  4. Follow the steps outlined in How to: Create Starter Kits to use the Export Template wizard to create a new template.

  5. Once the updated template is compressed into a .zip file, delete the old template .zip file.

See Also

© 2015 Microsoft