| title | ConvertToAbsolutePath Task | |||
|---|---|---|---|---|
| description | Use the MSBuild ConvertToAbsolutePath task to convert a relative path, or reference, into an absolute path. | |||
| ms.date | 11/04/2016 | |||
| ms.topic | reference | |||
| f1_keywords | ||||
| dev_langs |
|
|||
| helpviewer_keywords |
|
|||
| author | ghogen | |||
| ms.author | ghogen | |||
| ms.subservice | msbuild |
Converts a relative path, or reference, into an absolute path.
The following table describes the parameters of the ConvertToAbsolutePath task.
| Parameter | Description |
|---|---|
Paths |
Required xref:Microsoft.Build.Framework.ITaskItem[] parameter.The list of relative paths to convert to absolute paths. |
AbsolutePaths |
Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.The list of absolute paths for the items that were passed in. |
In addition to the parameters listed above, 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.