Share via


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 New 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. On the File menu, click Export Template, and use the Export Template wizard to create a new template.

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

See Also

Concepts

How to: Create Starter Kits

Other Resources

Starter Kits

Visual Studio Templates