Utilities.GetMsBuildPath Method (IServiceProvider)

Gets the path of MSBuild from the current hive of registry.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
<CLSCompliantAttribute(False)> _
Public Shared Function GetMsBuildPath ( _
    serviceProvider As IServiceProvider _
) As String
'使用
Dim serviceProvider As IServiceProvider
Dim returnValue As String

returnValue = Utilities.GetMsBuildPath(serviceProvider)
[CLSCompliantAttribute(false)]
public static string GetMsBuildPath(
    IServiceProvider serviceProvider
)
[CLSCompliantAttribute(false)]
public:
static String^ GetMsBuildPath(
    IServiceProvider^ serviceProvider
)
public static function GetMsBuildPath(
    serviceProvider : IServiceProvider
) : String

Parameters

Return Value

Type: System.String

The path of MSBuild.

Permissions

See Also

Reference

Utilities Class

Utilities Members

GetMsBuildPath Overload

Microsoft.VisualStudio.Package Namespace