ProGetAssetAliases.

ProGetDoesAssetExist(ICakeContext, string, ProGetConfiguration) Method

Summary

Determines if the asset is published at an existing URI.
Assembly
Cake.ProGet.dll
Namespace
Cake.ProGet.Asset
Containing Type
ProGetAssetAliases

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.