GetToolsDirectory() public static méthode

public static GetToolsDirectory ( string projectFile ) : string
projectFile string
Résultat string
    public void ProcessTaskFile(Project project)
    {
        var toolsDirectory = ProjectReader.GetToolsDirectory(project.FullName);

        if (toolsDirectory == null)
        {
            return;
        }

        var directoryInfo = fullPathResolver.GetFullPath(toolsDirectory, project);
        var targetFile    = new FileInfo(Path.Combine(directoryInfo.FullName, "Costura.dll"));

        if (!targetFile.Exists)
        {
            return;
        }
        if (VersionChecker.IsVersionNewer(targetFile))
        {
            taskFileReplacer.AddFile(directoryInfo);
        }
    }