Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
[InterfaceTypeAttribute(1)] [GuidAttribute("80353F58-F2A3-47B8-B2DF-0475E07BB1C6")] public interface IVsSolutionBuildManager2 : IVsSolutionBuildManager
/** @attribute InterfaceTypeAttribute(1) */ /** @attribute GuidAttribute("80353F58-F2A3-47B8-B2DF-0475E07BB1C6") */ public interface IVsSolutionBuildManager2 extends IVsSolutionBuildManager
Implemented by the environment,and IVsSolutionBuildManager2 orchestrate the building of projects within the solution. The solution build manager manages the set of dependencies between projects at the project level and will build those projects in the correct order based on those dependencies.
Solution build dependencies are set using the Solution Configuration property pages. The projects themselves supply the build system with information relating to their own items and the dependencies between those items.
Project build dependencies are set using the Project Configuration property pages. For more information relating to Property Pages and setting configurations, seeand .
Other callers of this interface would be packages providing add-ins that want to control the build process and programmatically cause some build operations to occur at specific times. For example, the debug component of the environment callsto programmatically enable and disable the F5 key, and to start the debug process that was set as the solution startup project.
For an example of how IVsSolutionBuildManager2 is called by parent projects with a nested project, see theNotes to Implementers Implemented by the environment. Notes to Callers Called by the environment or a parent project that needs to manage build operations for child (nested) projects. There could also be other interested packages that want to track build events, so they would call . to listen for and react to those build events. You can obtain an IVsSolutionBuildManager2 interface from the service.