TfxAliases.

TfxExtensionPublish(ICakeContext, FilePath, TfxExtensionPublishSettings) Method

Summary

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

Syntax

public static void TfxExtensionPublish(this ICakeContext context, FilePath vsixFilePath, TfxExtensionPublishSettings settings)

Examples

TfxExtensionPublish("c:/temp/test.vsix", new TfxExtensionPublishSettings()
{
    AuthType = TfxAuthType.Pat,
    Token = "abcdef"
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
vsixFilePath FilePath The path to the vsix.
settings TfxExtensionPublishSettings The settings.

Return Value

Type Description
void