MSBuildSettingsExtensions.

UseToolVersion(MSBuildSettings, MSBuildToolVersion) Method

Summary

Sets the tool version.

Syntax

public static MSBuildSettings UseToolVersion(this MSBuildSettings settings, MSBuildToolVersion version)

Parameters

Name Type Description
settings MSBuildSettings The settings.
version MSBuildToolVersion The version.

Return Value

Type Description
MSBuildSettings The same MSBuildSettings instance so that multiple calls can be chained.