Udostępnij za pośrednictwem


IVsBuildManagerAccessor Interface

Definition

Provides a way for unmanaged code to get access to the global Engine object without having to instantiate an expensive object such as a project. (Unmanaged code cannot access Engine.GlobalEngine directly because that object is marked as "static", and "static" objects are not easily accessible across a COM-interop boundary.)

public interface class IVsBuildManagerAccessor
public interface class IVsBuildManagerAccessor
__interface IVsBuildManagerAccessor
[System.Runtime.InteropServices.Guid("C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsBuildManagerAccessor
[<System.Runtime.InteropServices.Guid("C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsBuildManagerAccessor = interface
Public Interface IVsBuildManagerAccessor
Derived
Attributes

Remarks

Implemented by the Visual Studio environment, obtained via the SVsBuildManagerAccessor service.

Methods

BeginDesignTimeBuild()

Signals that a modal, design-time build, such as reference resolution, is about to take place.

ClaimUIThreadForBuild()

Attempts to get the UI thread in order to start a build.

EndDesignTimeBuild()

Signals that a modal, design-time build, such as reference resolution, should end.

Escape(String, String)

Prepares a string to be persisted within MSBuild without evaluation.

GetCurrentBatchBuildId(UInt32)

Returns the current batch build ID, or 0 if there is no batch build going on.

GetSolutionConfiguration(Object, String)

Gets the solution configuration.

RegisterLogger(Int32, Object)

Registers a logger for the submission.

ReleaseUIThreadForBuild()

Releases a previously-claimed UI thread.

Unescape(String, String)

Restores a previously escaped string to its original value.

UnregisterLoggers(Int32)

Unregisters all loggers for a given submission.

Applies to