Skip to content

TaskDefaults Task

Aaron Jensen edited this page Sep 30, 2019 · 1 revision

Overview

The TaskDefaults task will set default values for Whiskey task properties. Define task defaults just as you would define the task itself, except nest it under a TaskDefaults task. If an invalid task name is given the build will fail.

Examples

Example 1

The following example demonstrates setting default values for the MSBuild task Version property and the NuGetPack task Symbols property.

Build:
- TaskDefaults:
    MSBuild:
        Version: 13.0
    NuGetPack:
        Symbols: true
Clone this wiki locally