Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Resolving MEF imports in a VSPackage?

$
0
0
I'm attempting to add some additional features to my language service that require the use of MEF components to extend the editor, etc, but I'm having trouble with importing the MEF components.  Every object I've tried to import (with the [Import] attribute) is null at runtime.  Do I need to manually compose everything myself in my package's Initialize() method? If so, how do I get the correct catalog that will have all of the objects I need?

Viewing all articles
Browse latest Browse all 4410

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>