FindAppConfigFile Task
 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see FindAppConfigFile Task on docs.microsoft.com. Finds the app.config file, if any, in the provided lists.

The following table describes the parameters of the FindAppConfigFile task.

ParameterDescription
AppConfigFileOptional ITaskItem[] output parameter.

Specifies the first matching item found in the list, if any.
PrimaryListRequired ITaskItem[] parameter.

Specifies the primary list to search through.
SecondaryListRequired ITaskItem[] parameter.

Specifies the secondary list to search through.
TargetPathRequired String parameter.

Specifies the value to add as metadata.

In addition to having the parameters that are listed in the table, this task inherits parameters from the TaskExtension class, which itself inherits from the Task class. For a list of these additional parameters and their descriptions, see TaskExtension Base Class.

Tasks
Task Reference