stand on the shoulders of giants

[Visual Stuido SDK] VSPackages

high-level view of the Visual Studio architecture

 

底层的Visual Stuido IDE, 就是我们用VSSDK要extend的对象。

Extend的方法有两种 Package API 和 Automation.

Package API
which is the same API that Microsoft uses to develop Visual Studio
何为Package,Visual Studio本身的Editor,project templat本身就是Package。

而调用Package API的方法又有两种
1. 如果你用C++,就调用template-based library named the Visual Studio Library (VSL).  做出来的叫Native Package
2. Managed Code, 或者直接调用Interop Assemblies或者调用MPF                                 做出来的叫Managed Package

MPF
The MPF is a set of helper classes that call the .NET Visual Studio Interop assemblies
主要包括在Microsoft.VisualStudio.Package和 Microsoft.VisualStudio.Shell 两个Namespaces

posted @ 2009-01-16 18:18  DylanWind  阅读(415)  评论(0编辑  收藏  举报