https://github.com/microsoft/vs-mef
Managed Extensibility Framework (MEF) implementation used by Visual Studio
https://github.com/microsoft/vs-mef
extensibility extensibility-engine mef visual-studio
Last synced: about 1 year ago
JSON representation
Managed Extensibility Framework (MEF) implementation used by Visual Studio
- Host: GitHub
- URL: https://github.com/microsoft/vs-mef
- Owner: microsoft
- License: mit
- Created: 2017-04-25T00:47:05.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T19:53:42.000Z (about 1 year ago)
- Last Synced: 2025-05-07T23:48:04.306Z (about 1 year ago)
- Topics: extensibility, extensibility-engine, mef, visual-studio
- Language: C#
- Size: 10.3 MB
- Stars: 446
- Watchers: 28
- Forks: 87
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# vs-mef
[](https://dev.azure.com/azure-public/vside/_build/latest?definitionId=17)
[](https://codecov.io/gh/Microsoft/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
[](https://www.nuget.org/packages/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
* `ExportFactory` support to create sub-containers with scoped lifetime (i.e. sharing boundaries)
### Documentation
* [Why VS-MEF?](doc/why.md)
* [Differences between .NET MEF, NuGet MEF and VS MEF](doc/mef_library_differences.md)
* [Hosting](doc/hosting.md)
* [more docs](doc/index.md)
[Learn more about this package](src/Microsoft.VisualStudio.Composition/README.md).
## Microsoft.VisualStudio.Composition.Analyzers
[](https://www.nuget.org/packages/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
[](https://www.nuget.org/packages/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).