IsoAliases.

CreateIso(ICakeContext, DirectoryPath, FilePath, string) Method

Summary

Generates an ISO file from a given path.
Assembly
Cake.ISO.dll
Namespace
Cake.ISO
Containing Type
IsoAliases

Syntax

public static void CreateIso(this ICakeContext context, DirectoryPath inputDirectoryPath, FilePath outputFilePath, string volumeIdentifier)

Examples

var inputDir = @"C:\path\to\files";
var outputDir = @"C:\path\to\output.iso";
var volumeLabel = "MY_PROJECT";
CreateIso(inputDir, outputDir, volumeLabel);

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
inputDirectoryPath DirectoryPath The input directory.
outputFilePath FilePath The output file name.
volumeIdentifier string The volume label.

Return Value

Type Description
void