ClickTwiceManager Class

Summary

Manager for publishing ClickOnce applications from Cake scripts
Assembly
Cake.ClickTwice.dll
Namespace
Cake.ClickTwice
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ClickTwiceManager"] class Type type-node

Syntax

public class ClickTwiceManager

Methods

Name Value Summary
GenerateManifest(DirectoryPath, InformationSource) void
Generates an app manifest without publishing the whole application
PublishTo(DirectoryPath) void
Publishes the app to the given directory using the current settings
To(DirectoryPath) void
Publishes the app to the given directory using the current settings

Extension Methods

Name Value Summary
CleanAfterBuild() ClickTwiceManager
Enables cleaning the output directory after a complete build
Requires the Cake.ClickTwice addin
Dump<ClickTwiceManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
ForceRebuild() ClickTwiceManager
Enables forcing a rebuild of the application, even if a build is up-to-date
Requires the Cake.ClickTwice addin
IsIn<ClickTwiceManager>(ClickTwiceManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
LogTo(IPublishLogger) ClickTwiceManager
Adds a new ClickTwice.Publisher.Core.Loggers.IPublishLogger to the Loggers collection
Requires the Cake.ClickTwice addin
NotNull<ClickTwiceManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ClickTwiceManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
SetBuildPlatform(MSBuildPlatform) ClickTwiceManager
Sets the build platform to use when invoking MSBuild
Requires the Cake.ClickTwice addin
SetConfiguration(string) ClickTwiceManager
Sets the build configuration to use when invoking MSBuild
Requires the Cake.ClickTwice addin
ThrowIfNull<ClickTwiceManager>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ClickTwiceManager>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowOnHandlerFailure() ClickTwiceManager
Enables aborting the build if an input handlers fails with an error
Requires the Cake.ClickTwice addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
WithHandler(IHandler) ClickTwiceManager
Adds an input or output handler to the build pipeline
Requires the Cake.ClickTwice addin
WithHandlers(IEnumerable<IHandler>) ClickTwiceManager
Adds multiple input or output handlers to the build pipeline
Requires the Cake.ClickTwice addin
WithVersion(string) ClickTwiceManager
Manually sets the publish version to the provided value
Requires the Cake.ClickTwice addin