Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
How to: Change Template Compiler Options

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

Community Additions

© 2015 Microsoft