locked
MEF and TypeAndMemberDropdownBars - or a simple Package and TypeAndMemberDropdownBars Example? RRS feed

  • Question

  • Dear all,

      I've been trying to get the 'TypeAndMemberDropdownBars ' working.  I would be grateful if anyone knows of any examples doing it only using the MEF framework?

    However, I tried creating a package, and then registering a MyLanguageService - but it doesn't seem to be working and I'm not sure why.  

    I create an empty vspackage using the visual studio wizard and follow the tutorials on the msdn website to link the TestLanguageService.  

    Any ideas?

    Thanx,

    Ben

    TestLanguageService : LanguageService

    {

    ... etc

    // How can I force this to get called?

    public virtual TypeAndMemberDropdownBars CreateDropDownHelper(IVsTextView forView)
    {
    return base.CreateDropDownHelper(forView);
    }

    }

    • Moved by Ego Jiang Monday, July 23, 2012 8:12 AM it is a mef issue (From:Visual Studio Extensibility)
    Sunday, July 22, 2012 12:47 AM

All replies