C# Class Microsoft.VisualStudio.Project.SolutionListenerForBuildDependencyUpdate

The purpose of this class is to set a build dependency from a modeling project to all its sub projects
Inheritance: SolutionListener
Afficher le fichier Open project: tunnelvisionlabs/MPFProj10

Méthodes publiques

Méthode Description
OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int

Update build dependency list if solution is fully loaded

OnAfterOpenSolution ( object pUnkReserved, int fNewSolution ) : int

Called at load time when solution has finished opening.

SolutionListenerForBuildDependencyUpdate ( System.IServiceProvider serviceProvider ) : System

Méthodes protégées

Méthode Description
AddBuildDependenyToNestedProject ( IBuildDependencyUpdate projectContainer, IVsHierarchy nestedProject ) : void

Add build dependency to ProjectContainerNode if IVsBuildDependency is supported by the nested project

GetListOfProjectContainerNodes ( ) : List

Enum all projects in the solution and collect all that derives from ProjectContainerNode

UpdateDependencyListWithSubProjects ( IBuildDependencyOnProjectContainer projectNode ) : void

Update dependency list

Method Details

AddBuildDependenyToNestedProject() protected static méthode

Add build dependency to ProjectContainerNode if IVsBuildDependency is supported by the nested project
protected static AddBuildDependenyToNestedProject ( IBuildDependencyUpdate projectContainer, IVsHierarchy nestedProject ) : void
projectContainer IBuildDependencyUpdate Project Container where we should add the build dependency
nestedProject IVsHierarchy Nested project to set a build dependency against
Résultat void

GetListOfProjectContainerNodes() protected méthode

Enum all projects in the solution and collect all that derives from ProjectContainerNode
protected GetListOfProjectContainerNodes ( ) : List
Résultat List

OnAfterOpenProject() public méthode

Update build dependency list if solution is fully loaded
public OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
hierarchy IVsHierarchy
added int
Résultat int

OnAfterOpenSolution() public méthode

Called at load time when solution has finished opening.
public OnAfterOpenSolution ( object pUnkReserved, int fNewSolution ) : int
pUnkReserved object reserved
fNewSolution int true if this is a new solution
Résultat int

SolutionListenerForBuildDependencyUpdate() public méthode

public SolutionListenerForBuildDependencyUpdate ( System.IServiceProvider serviceProvider ) : System
serviceProvider System.IServiceProvider
Résultat System

UpdateDependencyListWithSubProjects() protected méthode

Update dependency list
protected UpdateDependencyListWithSubProjects ( IBuildDependencyOnProjectContainer projectNode ) : void
projectNode IBuildDependencyOnProjectContainer Project node to be updated. If null then all ProjectContainer nodes are updated
Résultat void