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)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")> _
Public Interface IVsBuildManagerAccessor
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")]
public interface IVsBuildManagerAccessor
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")]
public interface class IVsBuildManagerAccessor
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("C580A81B-9FFC-41EB-B8D7-5DCAD29601B7")>]
type IVsBuildManagerAccessor =  interface end
public interface IVsBuildManagerAccessor

The IVsBuildManagerAccessor type exposes the following members.

Methods

  Name Description
Public method BeginDesignTimeBuild Signals that a modal, design-time build, such as reference resolution, is about to take place.
Public method ClaimUIThreadForBuild Attempts to get the UI thread in order to start a build.
Public method EndDesignTimeBuild Signals that a modal, design-time build, such as reference resolution, should end.
Public method Escape Prepares a string to be persisted within MSBuild without evaluation.
Public method GetCurrentBatchBuildId Returns the current batch build ID, or 0 if there is no batch build going on.
Public method GetSolutionConfiguration Gets the solution configuration.
Public method RegisterLogger Registers a logger for the submission.
Public method ReleaseUIThreadForBuild Releases a previously-claimed UI thread.
Public method Unescape Restores a previously escaped string to its original value.
Public method UnregisterLoggers Unregisters all loggers for a given submission.

Top

Remarks

Implemented by the Visual Studio environment, obtained via the

SVsBuildManagerAccessor service.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace