NuGetRestoreSettings.

MSBuildVersion Property

Summary

Gets or sets the version of MSBuild to be used with this command. By default the MSBuild in your path is picked, otherwise it defaults to the highest installed version of MSBuild. This setting requires NuGet V3 or later.

Syntax

public NuGetMSBuildVersion? MSBuildVersion { get; set; }

Value

Type Description
NuGetMSBuildVersion? The version of MSBuild to be used with this command.