ToolLocationHelper.GetPathToDotNetFrameworkReferenceAssemblies Method

Definition

Returns the path to the reference assemblies location for the given framework version.

C#
public static string GetPathToDotNetFrameworkReferenceAssemblies(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version);

Parameters

version
TargetDotNetFrameworkVersion

Version of the targeted .NET Framework

Returns

Path string.

Applies to

Proizvod Verzije
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17