Cake.Tfx

Cake Build addin for using tfx cli.

#addin nuget:?package=Cake.Tfx&version=0.9.1

dotnet add package Cake.Tfx --version 0.9.1

<PackageReference Include="Cake.Tfx" Version="0.9.1" />

Aliases

Contains functionality related to the TFS Cross Platform Command Line Interface.

In order to use the commands for this addin, the tfx-cli utility will need to be installed and available, or you will need to provide a ToolPath to where it can be located, and also you will need to include the following in your build.cake file to download and reference the addin from NuGet.org:

#addin Cake.Tfx

General

TfxExtensionCreate(TfxExtensionCreateSettings) Creates an extension using the Tfx CLI using the specified settings.
TfxExtensionInstall(FilePath, ICollection<string>, TfxExtensionInstallSettings) Installs an extension using the Tfx CLI using the specified settings.
TfxExtensionPublish(FilePath, TfxExtensionPublishSettings) Publishes an extension using the Tfx CLI using the specified settings.
TfxExtensionPublish(TfxExtensionPublishSettings) Publishes an extension using the Tfx CLI using the specified settings.
TfxExtensionShare(FilePath, ICollection<string>, TfxExtensionShareSettings) Shares an extension using the Tfx CLI using the specified settings.