共用方式為


IVsMSBuildHostObject Interface

Definition

Enables the project system to communicate with MSBuild host objects.

public interface class IVsMSBuildHostObject
public interface class IVsMSBuildHostObject
__interface IVsMSBuildHostObject
[System.Runtime.InteropServices.Guid("45F31264-BACD-45A9-AE64-036120C52582")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsMSBuildHostObject
[System.Runtime.InteropServices.Guid("45F31264-BACD-45A9-AE64-036120C52582")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMSBuildHostObject
[<System.Runtime.InteropServices.Guid("45F31264-BACD-45A9-AE64-036120C52582")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsMSBuildHostObject = interface
[<System.Runtime.InteropServices.Guid("45F31264-BACD-45A9-AE64-036120C52582")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMSBuildHostObject = interface
Public Interface IVsMSBuildHostObject
Derived
Attributes

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.

Methods

BeginBuild()

Begins a build.

Close()

Closes a build host object.

EndBuild()

Ends a build.

Init(IVsHierarchy, IServiceProvider)

Initializes a build host object.

Applies to