NAnt SDK Documentation - v0.92 |

# SolutionBase.TranslateProjectPath Method

Translates a project path, in the form of a relative file path or a URL, to an absolute file path.

[Visual Basic]
Protected Function TranslateProjectPath( _
ByVal solutionDir As String, _
ByVal projectPath As String _
) As String
[C#]
protected string TranslateProjectPath(
string solutionDir,
string projectPath
);

#### Parameters

solutionDir
  The directory of the solution.
projectPath
  The project path to translate to an absolute file path.

#### Return Value

The project path translated to an absolute file path.

#### See Also

SolutionBase Class | NAnt.VSNet Namespace