IVsBuildManagerAccessor Interface

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

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

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")]
public interface IVsBuildManagerAccessor

The IVsBuildManagerAccessor type exposes the following members.

  NameDescription
Public methodBeginDesignTimeBuildSignals that a modal, design-time build, such as reference resolution, is about to take place.
Public methodClaimUIThreadForBuildAttempts to get the UI thread in order to start a build.
Public methodEndDesignTimeBuildSignals that a modal, design-time build, such as reference resolution, should end.
Public methodEscapePrepares a string to be persisted within MSBuild without evaluation.
Public methodGetCurrentBatchBuildIdReturns the current batch build ID, or 0 if there is no batch build going on.
Public methodGetSolutionConfigurationGets the solution configuration.
Public methodRegisterLoggerRegisters a logger for the submission.
Public methodReleaseUIThreadForBuildReleases a previously-claimed UI thread.
Public methodUnescapeRestores a previously escaped string to its original value.
Public methodUnregisterLoggersUnregisters all loggers for a given submission.
Top

Implemented by the Visual Studio environment, obtained via the

SVsBuildManagerAccessor service.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft