Implementing IVsHierarchy
I would like to get started with implementing a new IVsHierarchy, however, i am not sure as to how this can be done, to be rephrasing i am not sure as to how the IVsHierarchy can be used. Can开发者_StackOverflow社区 someone share some example or shed some light on it ??
Take a look at the MPF for Projects. It contains implementation of IVsHierarchy. You can use it as base of your Project System.
http://mpfproj.codeplex.com/
I'd highly recommend reading DiveDeeper's blog on VSX.
He has a number of posts on implementing IVsHierarchy:
- Working with Hierarchies, Part 1
- Working with Hierarchies, Part 2
- Working with Hierarchies, Part 3
- Working with Hierarchies, Part 4
- Working with Hierarchies, Part 5
He also has an open source library called VSXtra which provides lots of handy support code for writing VS Packages. You may find it useful to use as a reference.
精彩评论