Jun 14, 2011 at 8:39 PM
Edited Jun 14, 2011 at 8:40 PM
I'm trying to build the the Samples/CS/Caching projects. I tried to run with xbuild on mono and msbuild with VS2010, both doesn't work. I downloaded MFE2_Preview3, I used mono (dmcs) for compiling the examples, but I don't think I got the errors because
I used Mono. Mono compiles well with other MEF examples.
I retried by compiling the code one by one, but I got some errors.
Q1 : When I tried to compile Program.cs, I got this error. Is the Caching namespace obsolete?
dmcs Program.cs /r:System.ComponentModel.Composition.dll /r:IPlugin.dllProgram.cs(7,41): error CS0234: The type or namespace name `Caching' does not exist in the namespace `System.ComponentModel.Composition'. Are you missing
an assembly reference?
Q2 : When I tried to compile CatalogServices.cs, I got this error. Why ComposablePartCatalogCachingServices class is not available?
dmcs CatalogServices.cs /r:System.ComponentModel.Composition.dll /r:IPlugin.dllCatalogServices.cs(32,27): error CS0103: The name `ComposablePartCatalogCachingServices' does not exist in the current context
In overall, is the Caching example outdated?