NAnt SDK Documentation - v0.92 |

# AbstractSourceControlTask.DeriveVcsFromEnvironment Method

Derive the location of the version control system from the environment variable

    PATH

.
[Visual Basic]
Protected Function DeriveVcsFromEnvironment() As FileInfo
[C#]
protected FileInfo DeriveVcsFromEnvironment();

#### Return Value

The file information of the version control system, or

    null

if this cannot be found.

#### See Also

AbstractSourceControlTask Class | NAnt.SourceControl.Tasks Namespace