microsoft/vs-mef
C#
Captured source
source ↗microsoft/vs-mef
Description: Managed Extensibility Framework (MEF) implementation used by Visual Studio
Language: C#
License: MIT
Stars: 464
Forks: 90
Open issues: 24
Created: 2017-04-25T00:47:05Z
Pushed: 2026-06-10T16:47:15Z
Default branch: main
Fork: no
Archived: no
README:
vs-mef
 
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
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
ExportFactorysupport to create sub-containers with scoped lifetime (i.e. sharing boundaries)
Documentation
[Learn more about this package](src/Microsoft.VisualStudio.Composition/README.md).
Microsoft.VisualStudio.Composition.Analyzers
Analyzers for MEF consumers to help identify common errors in MEF parts.
[Learn more about this package](src/Microsoft.VisualStudio.Composition.Analyzers/README.md).
Microsoft.VisualStudio.Composition.AppHost
Adds a VS MEF system with a pre-computed, cached MEF graph.
[Learn more about this package](src/Microsoft.VisualStudio.Composition.AppHost/README.md).
Microsoft.VisualStudio.Composition.VSMefx
A diagnostic tool to understand catalogs, compositions and diagnose issues in them.
[Learn more about this package](src/Microsoft.VisualStudio.Composition.VSMefx/README.md).