Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 month ago
JSON representation

Managed Extensibility Framework (MEF) implementation used by Visual Studio

Awesome Lists containing this project

README

        

# vs-mef

[![Build Status](https://dev.azure.com/azure-public/vside/_apis/build/status/vs-mef)](https://dev.azure.com/azure-public/vside/_build/latest?definitionId=17)
[![codecov](https://codecov.io/gh/Microsoft/vs-mef/branch/main/graph/badge.svg)](https://codecov.io/gh/Microsoft/vs-mef)
[![Join the chat at https://gitter.im/vs-mef/Lobby](https://badges.gitter.im/vs-mef/Lobby.svg)](https://gitter.im/vs-mef/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

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](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Composition.svg)](https://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

[![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Composition.Analyzers.svg)](https://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

[![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Composition.AppHost.svg)](https://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

[![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Composition.VSMefx.svg)](https://nuget.org/packages/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).