This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ProGet.
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 |
|---|---|
| Cake |
|
| Cake |
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. |
