Поделиться через


FindAppConfigFile Task

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

Concepts

MSBuild Tasks

Other Resources

MSBuild Task Reference