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...
Status: CONFIRMED
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
URL:
Depends on:
Blocks:
 
Reported: 2014-05-09 18:24 UTC by Chris Hamons
Modified: 2017-08-24 21:34 UTC (History)
3 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 19660 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Chris Hamons 2014-05-09 18:24:32 UTC
https://xamarin.desk.com/agent/case/70807

"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.