Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ToolLocationHelper.GetPathToDotNetFrameworkReferenceAssemblies Method

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

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public static string GetPathToDotNetFrameworkReferenceAssemblies(
	TargetDotNetFrameworkVersion version
)

Parameters

version
Type: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion

Version of the targeted .NET Framework

Return Value

Type: System.String
Returns a string containing the fully qualified path to the Reference Assemblies folder, or a null reference (Nothing in Visual Basic) if the targeted version of the .NET Framework is not installed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft