MinVerSettingsExtensions.

WithPreferGlobalTool(MinVerSettings) Method

Summary

By default, MinVer is executed as a local tool first and, in case of error, fallback(*) to global tool Set PreferGlobalTool to to execute MinVer as global tool first and, in case of an error, fallback(*) to local tool (*) Unless the fallback is disabled via NoFallback Local tool = `dotnet minver` Global tool = `minver`
Assembly
Cake.MinVer.dll
Namespace
Cake.MinVer
Containing Type
MinVerSettingsExtensions

Syntax

public static MinVerSettings WithPreferGlobalTool(this MinVerSettings settings)

Parameters

Name Type Description
settings MinVerSettings The settings.

Return Value

Type Description
MinVerSettings The settings instance with Repo.