/vs-mef

Managed Extensibility Framework (MEF) implementation used by Visual Studio

Primary LanguageC#MIT LicenseMIT

vs-mef

Build Status codecov

This repo contains the Visual Studio team's implementation of .NET's managed extensibility framework. It is broken up into several NuGet packages, as listed below.

Microsoft.VisualStudio.Composition

NuGet package

Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.

Features

  • A new, faster host for your existing MEF parts
  • Reuse the MEF attributes you're already using
  • ExportFactory<T> support to create sub-containers with scoped lifetime (i.e. sharing boundaries)

Documentation

Learn more about this package.

Microsoft.VisualStudio.Composition.Analyzers

NuGet package

Analyzers for MEF consumers to help identify common errors in MEF parts.

Learn more about this package.

Microsoft.VisualStudio.Composition.AppHost

NuGet package

Adds a VS MEF system with a pre-computed, cached MEF graph.

Learn more about this package.

Microsoft.VisualStudio.Composition.VSMefx

A diagnostic tool to understand catalogs, compositions and diagnose issues in them.

Learn more about this package.