Bug 16958 - Binding Card.IO - Class cannot have multiple base classes
Summary: Binding Card.IO - Class cannot have multiple base classes
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Java Binding (IKVM) ()
Version: 4.2.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-12-24 14:07 UTC by chrisgozd92
Modified: 2016-12-01 15:28 UTC (History)
4 users (show)

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description chrisgozd92 2013-12-24 14:07:31 UTC
I'm trying to bind the java library located here : https://www.card.io/.

I've made a few changes to the library using the Metadata.xml file in order to fix a few building bugs.  The error i'm stuck on is "Classses cannot have multiple base classes."  

The line that the error is occuring on is here : public sealed partial class CardIOActivity : global::Android.App.Activity, global::IO.Card.Payment.IN {.

I've included a sample project which shows the error.

This is a crucial bug to me as it doesn't allow me to use the Card.IO library which I would really like to use for my application.  

Comment 1 Prashant manu 2013-12-26 02:53:23 UTC
Could you please provide us the sample/testcase for this, so that we check this at our end.
Comment 2 chrisgozd92 2013-12-26 08:15:37 UTC
There aren't really any test cases.  You should just be able to build the solution that I provided in this report and you will see the error and that it does not build.  Please let me know what else you want to know.
Comment 3 PJ 2014-01-06 12:52:11 UTC
Hi Chris - it looks like your sample project unfortunately didn't attach. Do you by any chance have that still? I think that's what Prashant was saying in comment 1.
Comment 4 Lluis Sanchez 2016-12-01 15:28:28 UTC