Compartir a través de


IVsSolutionLoadManagerSupport Interface

Definition

Provides support for managing the way projects in a solution are loaded.

public interface class IVsSolutionLoadManagerSupport
public interface class IVsSolutionLoadManagerSupport
__interface IVsSolutionLoadManagerSupport
[System.Runtime.InteropServices.Guid("D48DB33C-0F89-47AD-AB42-D6683608BD60")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionLoadManagerSupport
[<System.Runtime.InteropServices.Guid("D48DB33C-0F89-47AD-AB42-D6683608BD60")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolutionLoadManagerSupport = interface
Public Interface IVsSolutionLoadManagerSupport
Attributes

Remarks

This interface is passed to the __VSPROPID4 object during the Open Solution process in the implementation OnBeforeOpenProject. This allows the Solution Load Manager to control the way projects are loaded during the Open Solution operation. Projects can be loaded immediately, loaded in the background (at idle), left to be loaded if needed, or set to stay unloaded. A Solution Load Manager is expected to implement the IVsSolutionLoadManager interface. A common approach is to have VSPackage that implements the Solution Load Manager AutoLoad for the UI context SolutionOpening_string, for example [ProvideAutoLoad(ProvideAutoLoad(VSConstants.UIContext.SolutionOpening_string)]. This property may also be set during OnBeforeOpenSolution or during ReadSolutionProps for the pre Solution section.

Methods

GetProjectLoadPriority(Guid, UInt32)

Obsolete. This API became obsolete to optimize solution load performance.

SetProjectLoadPriority(Guid, UInt32)

Obsolete. This API became obsolete to optimize solution load performance.

Applies to