We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

__VSBSLFLAGS Enumeration

Flags that determine some of the ways projects are loaded. They are passed to methods such as EnsureProjectIsLoaded, EnsureProjectsAreLoaded, and EnsureSolutionIsLoaded.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum __VSBSLFLAGS

Member nameDescription
VSBSLFLAGS_NoneThe default behavior.
VSBSLFLAGS_NotCancelableDisable the Cancel button on the wait dialog during project load. (The Cancel button is not implemented by Visual Studio 2010.)
VSBSLFLAGS_LoadBuildDependenciesLoad all the build dependencies of the project. This includes references between projects and user-defined dependencies at the solution level. By default Visual Studio loads only the dependencies necessary for design-time features (IntelliSense, form designers, etc.).
VSBSLFLAGS_ExpandProjectOnLoadIf this project is loaded, expand it in the Solution Explorer.
VSBSLFLAGS_SelectProjectOnLoadIf this project is loaded, select it in the Solution Explorer.
VSBSLFLAGS_LoadAllPendingProjectsForce all projects to load except for PLP_ExplicitLoadOnly projects. By default Visual Studio completes the loading only of PLP_DemandLoad and PLP_BackgroundLoad projects. This flag is valid only for EnsureProjectIsLoaded.