Jawab VSPackage vs MEF

  • 17 April 2012 8:10
     
     
    I want to know what gives me VSPackage that does not give me MEF (I don't know any of the 2 options) and I have to add an add-in called LMZ:
     1) ToolWindowPane, which of course the window "LMZ" will open from Tools
     2) In Tools | Options to display an entry "LMZ" to change the definitions
     3) Be able to create a project of type "LMZ" through File | New | Project | LMZ
     thanks
     Leo Zylber
     lzylber@nds.com
     leomoshe@gmail.com

    Leo Zylber

Semua Balasan

  • 18 April 2012 2:33
     
     Jawab

    Hi,

    AFAIK MEF does not give you the ability to add/Modify Visual Studio. MEF is a Framework that you can use in your VSPackage to ease the development of the package (Although I suspect some features are avalaible only through MEF).

    So If you want to implement all that your only choice is through a VSPackages (since you modify "low" features of the IDE) and in it if you want you can use MEF).

    Again, AFAIK.

    Here's a good start for documentation on VSPackage.

    Cheers.

    Baccali