Partager via


IVsMSBuildHostObject Interface

Enables the project system to communicate with MSBuild host objects.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("45F31264-BACD-45A9-AE64-036120C52582")> _
Public Interface IVsMSBuildHostObject
[InterfaceTypeAttribute()]
[GuidAttribute("45F31264-BACD-45A9-AE64-036120C52582")]
public interface IVsMSBuildHostObject
[InterfaceTypeAttribute()]
[GuidAttribute(L"45F31264-BACD-45A9-AE64-036120C52582")]
public interface class IVsMSBuildHostObject
[<InterfaceTypeAttribute()>]
[<GuidAttribute("45F31264-BACD-45A9-AE64-036120C52582")>]
type IVsMSBuildHostObject =  interface end
public interface IVsMSBuildHostObject

The IVsMSBuildHostObject type exposes the following members.

Methods

  Name Description
Public method BeginBuild Begins a build.
Public method Close Closes a build host object.
Public method EndBuild Ends a build.
Public method Init Initializes a build host object.

Top

Remarks

This is an interface for the project system to communicate with MSBuild host objects specified by the registry (under the local Projects\<project type GUID>\MSBuildHostObjects key). The Init and Close methods are called for each host object by the project system.

See also HostObject.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace