AppPackagerAliases.

AppPack(ICakeContext, FilePath, DirectoryPath, AppPackagerSettings) Method

Summary

Create an application package using the specificed output name, content, and setttings.
Assembly
Cake.AppPackager.dll
Namespace
Cake.AppPackager
Containing Type
AppPackagerAliases

Syntax

public static void AppPack(this ICakeContext context, FilePath outputPackage, DirectoryPath contentDirectory, AppPackagerSettings settings)

Examples

AppPack("test.appx", "package-content", new AppPackagerSettings { OverwriteOutput = true }); 

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
outputPackage FilePath Output name of the application package.
contentDirectory DirectoryPath Directory for the content to be pack.
settings AppPackagerSettings The settings.

Return Value

Type Description
void