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.)

C++/CX
public interface class 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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022