---
uid: application-development.code-weaving-and-generation.about-template-output-targeting
description: "How Output Targeting works in Intent Architect: Template Outputs in designers determine where generated files are written during Software Factory execution."
---
# About Template Output Targeting

## Overview

`Output Targeting` refers to how Intent Architect determines where a Template's output should be placed on the file system during the software execution through configuration within designers and the template itself.

Some designers (such as the `Folders` and `Visual Studio` designers) support "Output Configuration" which lets Intent Architect know during module installation that `Template Output`s should be placed in it. The Software Factory Execution uses these `Template Outputs` to determine the output paths for template instances.

![Output Config Template Output](images/output-config-template-output-side-by-side.png)
_Example features both a Folder (left) and Visual Studio (right) designer layout with Template Output items highlighted_

## Template Outputs

`Template Output`s in the designers are used by the Software Factory to know where on the file system that template output should be written, in particular under which sub-folder. As modules are installed, for each template within them, a `Template Output` is automatically created with its name being the value of the `TemplateId` property of the template as specified during module building.

## Unassigned Template Output

Some designers (such as the Visual Studio designer) will show unassigned Template Outputs in red:

![Unassigned Template in Output Configuration Designer](images/output-config-vs-unassigned-template.png)

Running the Software Factory while these template are unassigned will result in errors during the execution about there being unassigned templates.

Module authors can control where their "Template Output"s should be placed by default during module installation so that things work automatically, this is covered in this [article](https://docs.intentarchitect.com/docs-md/module-building/templates-general/configuring-a-templates-default-output-location/configuring-a-templates-default-output-location.md).

## See also

- [Configuring a Template's default output location](https://docs.intentarchitect.com/docs-md/module-building/templates-general/configuring-a-templates-default-output-location/configuring-a-templates-default-output-location.md)
