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

 

Returns the path to mscorlib and system.dll

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.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.

Exception Condition
ArgumentNullException

When the frameworkName is null

Return to top
Show: