Search code examples
mef

Where is the "System.Composition.TypedParts.dll"?


I am trying to use the ContainerConfiguration type from the Managed Extensibility Framework (MEF). According to here, it lives in "System.Composition.TypedParts.dll" which is part of .NET Framework 4.5. But I cannot find it in Add Reference for a .NET 4.5 application.

enter image description here

Where can I find this DLL?


Solution

  • It turned out to be part of MEF 2, which needs to be installed with NuGet. It's not distributed with .NET Framework.