TfxAliases.

TfxExtensionShare(ICakeContext, FilePath, ICollection<string>, TfxExtensionShareSettings) Method

Summary

Shares an extension using the Tfx CLI using the specified settings.
Assembly
Cake.Tfx.dll
Namespace
Cake.Tfx
Containing Type
TfxAliases

Syntax

public static void TfxExtensionShare(this ICakeContext context, FilePath vsixFilePath, ICollection<string> shareWith, TfxExtensionShareSettings settings)

Examples

TfxExtensionShare("c:/temp/test.vsix", new List<string>{ "account1" }, new TfxExtensionShareSettings()
{
    AuthType = TfxAuthType.Pat,
    Token = "abcdef"
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
vsixFilePath FilePath The path to the vsix.
shareWith ICollection<string> The accounts to publish the extension to.
settings TfxExtensionShareSettings The settings.

Return Value

Type Description
void