TfxAliases.

TfxExtensionInstall(ICakeContext, FilePath, ICollection<string>, TfxExtensionInstallSettings) Method

Summary

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

Syntax

public static void TfxExtensionInstall(this ICakeContext context, FilePath vsixFilePath, ICollection<string> accounts, TfxExtensionInstallSettings settings)

Examples

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void