ProGetAssetAliases.

ProGetDeleteAsset(ICakeContext, string, ProGetConfiguration) Method

Summary

Deletes an asset from the asset directory.
Assembly
Cake.ProGet.dll
Namespace
Cake.ProGet.Asset
Containing Type
ProGetAssetAliases

Syntax

public static bool ProGetDeleteAsset(this ICakeContext context, string assetUri, ProGetConfiguration config)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
assetUri string The URI of the asset.
config ProGetConfiguration See ProGetConfiguration.

Return Value

Type Description
bool True if the asset is deleted, false otherwise.