Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.59 KB

findappconfigfile-task.md

File metadata and controls

42 lines (34 loc) · 1.59 KB
title ms.date ms.topic dev_langs helpviewer_keywords ms.assetid author ms.author manager ms.workload
FindAppConfigFile Task | Microsoft Docs
11/04/2016
reference
VB
CSharp
C++
jsharp
FindAppConfigFile task [MSBuild]
MSBuild, FindAppConfigFile task
e292de3e-7482-4426-83ce-d921061808bf
ghogen
ghogen
jillfra
multiple

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 xref:Microsoft.Build.Framework.ITaskItem[] output parameter.

Specifies the first matching item found in the list, if any.
PrimaryList Required xref:Microsoft.Build.Framework.ITaskItem[] parameter.

Specifies the primary list to search through.
SecondaryList Required xref:Microsoft.Build.Framework.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 xref:Microsoft.Build.Tasks.TaskExtension class, which itself inherits from the xref:Microsoft.Build.Utilities.Task class. For a list of these additional parameters and their descriptions, see TaskExtension base class.

See also