Export (0) Print
Expand All

ToolLocationHelper.GetPathToStandardLibraries Method (String, String, String, String)

.NET Framework 4.5

Returns the path to mscorlib and system.dll

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

public static string GetPathToStandardLibraries(
	string targetFrameworkIdentifier,
	string targetFrameworkVersion,
	string targetFrameworkProfile,
	string platformTarget
)

Parameters

targetFrameworkIdentifier
Type: System.String

Identifier being targeted

targetFrameworkVersion
Type: System.String

Version being targeted

targetFrameworkProfile
Type: System.String

Profile being targeted

platformTarget
Type: System.String

This is used to determine where we should look for the standard libraries. Note, this parameter is only used for .NET Framework 3.5 or less.

Return Value

Type: System.String
Collection of reference assembly locations.

ExceptionCondition
ArgumentNullException

When the frameworkName is null

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft