Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 600 Bytes

IProjectTreeProvider.md

File metadata and controls

18 lines (14 loc) · 600 Bytes

IProjectTreeProvider

Special nodes under projects in Solution Explorer

To add nodes directly under the project node in Solution Explorer of a CPS-based project, you must export an IProjectTreeProvider with a specific contract name, as shown here:

[AppliesTo("Project capability expression here")]
[Export(ExportContractNames.ProjectTreeProviders.PhysicalViewRootGraft, typeof(IProjectTreeProvider))]
internal class YourSubtreeProvider : ProjectTreeProviderBase
{
    // implementation goes here
}

For the capability expression, please see Extensibility Points.