This project has moved and is read-only. For the latest updates, please go here.

WAF System.ComponentModel.Composition

Jul 1, 2010 at 4:52 PM

Trying to modify the current version of the BookLibrary sample for my project but am not able to reference System.ComponentModel.Composition. I am using 3.5. Should I use a different version of the sample?

Jul 2, 2010 at 5:31 PM

System.ComponentModel.Composition is better known as MEF (Managed Extensibility Framework). This component is part of the .NET Framework 4.0 but you can download it for .NET Framework 3.5 as well. WAF ships the .NET 3.5 version of this component in the folder ManagedExtensibilityFramework.

When you are using .NET 3.5 then you need to add a reference to the System.ComponentModel.Composition.dll assembly in the ManagedExtensibilityFramework folder. That’s what the BookLibrary already does.