Is caching.dll linked only to codeplex MEF library?

Jun 16, 2011 at 4:46 PM
Edited Jun 16, 2011 at 6:31 PM

I found that System.ComponentModel.Composition.Hosting.ComposablePartCatalogCachingServices class is included in MFE2 Preview3, in caching.dll.

When I tried to compile CatalogServices.cs with /r:System.ComponentModel.Composition.dll /r:caching.dll, I got these error messages.

CatalogServices.cs(45,13): error CS0012: The type
        'System.ComponentModel.Composition.Primitives.ComposablePartCatalog' is defined in an
        assembly that is not referenced. You must add a reference to assembly
        'System.ComponentModel.Composition.Codeplex, Version=4.1.2.0, Culture=neutral,
        PublicKeyToken=13e5ffd4e05db186'.
Caching.dll: (Location of symbol related to previous error)
CatalogServices.cs(45,13): error CS0012: The type
        'System.ComponentModel.Composition.Primitives.ICompositionElement' is defined in an assembly
        that is not referenced. You must add a reference to assembly
        'System.ComponentModel.Composition.Codeplex, Version=4.1.2.0, Culture=neutral,
        PublicKeyToken=13e5ffd4e05db186'.
Caching.dll: (Location of symbol related to previous error)
CatalogServices.cs(47,20): error CS0029: Cannot implicitly convert type
        'System.ComponentModel.Composition.Hosting.CachedAssemblyCatalog' to
        'System.ComponentModel.Composition.Primitives.ComposablePartCatalog'Is this class experimental? Is this class going to be included in later versions of .NET? What performance gain can I expect with this caching method under what condition? 

Why is this? Do I have to use codeplex dll in order to use this caching.dll?