DartResolver.

GetDartPath(IFileSystem, ICakeEnvironment) Method

Summary

Returns the path of the Dart.exe.
Assembly
Cake.Dart.dll
Namespace
Cake.Dart
Containing Type
DartResolver

Syntax

public static FilePath GetDartPath(IFileSystem fileSystem, ICakeEnvironment environment)

Remarks

Throws if Dart isn't found.

Parameters

Name Type Description
fileSystem IFileSystem
environment ICakeEnvironment

Return Value

Type Description
FilePath The path of the latest Dart.exe