Freigeben über


FindAppConfigFile Task

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Finds the app.config file, if any, in the provided lists.

Parameters

The following table describes the parameters of the FindAppConfigFile task.

Parameter Description
AppConfigFile Optional ITaskItem[] output parameter.

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

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

Specifies the secondary list to search through.
TargetPath Required String parameter.

Specifies the value to add as metadata.

Remarks

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.

See Also

Tasks
Task Reference