Bug 19660 - MEF MetadataView exception should give better error message and we should update documentation
Summary: MEF MetadataView exception should give better error message and we should upd...
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll (show other bugs)
Version: master
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
Depends on:
Reported: 2014-05-09 18:24 UTC by Chris Hamons
Modified: 2017-08-24 21:34 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Chris Hamons 2014-05-09 18:24:32 UTC

"It turns out that the MEF that you ship works just fine with MEF provided
you provide your own MetadataView implementation. The metadata view
implementation is registered with the [MetadataViewImplementation()]
attribute. This is exactly what we did with our custom implementation a
while ago and it looks like it is now officially supported. You might
want to add this information to your FAQs and the github comments. Also,
it would be nice if you changed the exception to indicate that you have to
provide a valid implementation and register with the attribute instead of
saying that the metadata view was invalid."
Comment 2 Chris Hamons 2014-12-03 13:16:21 UTC
We haven't written the documentation of note / or a test showing the bad behavior. This bug is just a reminder to go do so at a point in the future. When I fix it i'll note how to verify my fix.

Note You need to log in before you can comment on or make changes to this bug.