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
Determines if the asset is published at an existing URI.
Syntax
public static bool ProGetDoesAssetExist(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 |
An IProGetConfiguration with the username and password. |
Return Value
Type |
Description |
bool |
True if the asset exists, false otherwise. |