NAnt SDK Documentation - v0.92

SolutionBase.GetProjectFileFromGuid Method 

Gets the project file of the project with the given unique identifier.

[Visual Basic]
Public Function GetProjectFileFromGuid( _
   ByVal projectGuid As String _
) As String
[C#]
public string GetProjectFileFromGuid(
   string projectGuid
);

Parameters

projectGuid
The unique identifier of the project for which the project file should be retrieves.

Return Value

The project file of the project with the given unique identifier.

Exceptions

Exception Type Condition
BuildException No project with unique identifier projectGuid could be located.

See Also

SolutionBase Class | NAnt.VSNet Namespace