Table of Contents

Getting Started

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)

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.