Error CS0234: The type or namespace name
IBitmap' does not exist in the namespace
Com.Sushi.Hangover'. Are you missing an assembly reference?
I have an Android binding project which has classes that are inheriting from multiple interfaces but these interfaces are not been generated and thus all of the public classes that depend upon them are failing to bind.
Java Class:
abstract interface Bitmap
{
~~~ (methods removed)
}
api.xml:
<interface abstract="true" deprecated="not deprecated" final="false" name="Bitmap" static="false" visibility="">
As you can see the visibility
of this interface is not set to public
and thus no C# code is generated, but there are public classes begin generated that depend on this interface:
public partial class DrawableDesign : global::Com.Sushi.Hangover.IBitmap {
The binding is aware of the interface as it transforming the interface name from Bitmap
to IBitmap
.
Is there any way to force these interfaces to be created without going back the Java code and changing these interfaces to public to get them into the
api.xml
asvisibility="public"
?
Note: I am on stable channel (Xamarin.Android Version: 6.0.3.5) as this client does not have Alpha/Beta access