Class ClickTwiceAliases
Aliases for publishing ClickOnce apps using the ClickTwice toolchain
Inheritance
System.Object
ClickTwiceAliases
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Cake.ClickTwice
Assembly:Cake.ClickTwice.dll
Syntax
[CakeAliasCategory("ClickOnce")]
[CakeNamespaceImport("ClickTwice.Templating")]
[CakeNamespaceImport("ClickTwice.Publisher.Core")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Resources")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Handlers")]
[CakeNamespaceImport("ClickTwice.Handlers.AppDetailsPage")]
public static class ClickTwiceAliases
Methods
| Improve this Doc View SourceAppInfo(ICakeContext, FilePath)
Dedicated alias for working with app.info
files in a project
Declaration
[CakeMethodAlias]
[CakeNamespaceImport("ClickTwice.Templating")]
[CakeNamespaceImport("ClickTwice.Publisher.Core")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Resources")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Handlers")]
[CakeNamespaceImport("ClickTwice.Handlers.AppDetailsPage")]
public static AppInfoManager AppInfo(this ICakeContext ctx, FilePath projectFile)
Parameters
Type | Name | Description |
---|---|---|
Cake.Core.ICakeContext | ctx | The Cake context |
Cake.Core.IO.FilePath | projectFile | Path to the project file of the app you want to work with |
Returns
Type | Description |
---|---|
AppInfoManager | A manager to control app.info generation |
ClickTwice(ICakeContext)
Property alias for working with the individual stages in a publish operation independently. Used in the "split form" of publishing
Declaration
[CakePropertyAlias]
[CakeNamespaceImport("ClickTwice.Templating")]
[CakeNamespaceImport("ClickTwice.Publisher.Core")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Resources")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Handlers")]
[CakeNamespaceImport("ClickTwice.Handlers.AppDetailsPage")]
public static ClickTwiceRunner ClickTwice(this ICakeContext ctx)
Parameters
Type | Name | Description |
---|---|---|
Cake.Core.ICakeContext | ctx | The Cake context |
Returns
Type | Description |
---|---|
ClickTwiceRunner | A handler for running isolated individual publish steps |
PublishApp(ICakeContext, FilePath)
Prepares a publish of the given project
Declaration
[CakeNamespaceImport("ClickTwice.Templating")]
[CakeNamespaceImport("ClickTwice.Publisher.Core")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Resources")]
[CakeNamespaceImport("ClickTwice.Publisher.Core.Handlers")]
[CakeNamespaceImport("ClickTwice.Handlers.AppDetailsPage")]
[CakeMethodAlias]
public static ClickTwiceManager PublishApp(this ICakeContext ctx, FilePath projectFile)
Parameters
Type | Name | Description |
---|---|---|
Cake.Core.ICakeContext | ctx | The Cake context |
Cake.Core.IO.FilePath | projectFile | Path to the project file of the app you want to publish |
Returns
Type | Description |
---|---|
ClickTwiceManager | A manager to publish your app from |