Hi,
I think I found a bug in the compositionhost. We use Devforce 6.1.2, Caliburn-Devforce and MEF
I have a XAP named Company.Telerik.AutoLoad.xap. It contains only Teleriks assemblies and another one assembly named like the xap Company.Telerik.Autoload.dll. It contains one [Export].
The problem is nothing is exported from this assembly ...
I found out that after adding the Xap to the compositionhost nothing is really added, my assembly isn't there. The XAP is downloaded but that's all.
There is 2 way of fixing the issue :
- remove Telerik from the IgnorePattern of the CompositionHost : CompositionHost.IgnorePatterns.Remove("Telerik.*");
- Removing "Telerik" from the name of the Assembly .
How can my assembly match the pattern "Telerik.*" since it is named "Company.Telerik.*" ? Is this a bug or I misunderstood something ?
So far we removed the Telerik.* pattern from the compositionhost but can we have some side effect ? I guess there was a good reason if you added it as default !