Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared Function GetPathToStandardLibraries ( _
targetFrameworkIdentifier As String, _
targetFrameworkVersion As String, _
targetFrameworkProfile As String, _
platformTarget As String _
) As String
public static string GetPathToStandardLibraries(
string targetFrameworkIdentifier,
string targetFrameworkVersion,
string targetFrameworkProfile,
string platformTarget
)
public:
static String^ GetPathToStandardLibraries(
String^ targetFrameworkIdentifier,
String^ targetFrameworkVersion,
String^ targetFrameworkProfile,
String^ platformTarget
)
static member GetPathToStandardLibraries :
targetFrameworkIdentifier:string *
targetFrameworkVersion:string *
targetFrameworkProfile:string *
platformTarget:string -> string
public static function GetPathToStandardLibraries(
targetFrameworkIdentifier : String,
targetFrameworkVersion : String,
targetFrameworkProfile : String,
platformTarget : String
) : String
Parameters
targetFrameworkIdentifier
Type: System.StringIdentifier being targeted
targetFrameworkVersion
Type: System.StringVersion being targeted
targetFrameworkProfile
Type: System.StringProfile being targeted
platformTarget
Type: System.StringThis 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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | When the frameworkName is null |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.