Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.48 KB

File metadata and controls

40 lines (31 loc) · 1.48 KB
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
VB
CSharp
C++
helpviewer_keywords
ConvertToAbsolutePath task [MSBuild]
MSBuild, ConvertToAbsolutePath task
author ghogen
ms.author ghogen
ms.subservice msbuild

ConvertToAbsolutePath task

Converts a relative path, or reference, into an absolute path.

Task parameters

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.

Remarks

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.

See also