You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have two classes, public class MyPublicClass extends MyPackageClass and abstract class MyPackageClass (package private class). This generates code for MyPublicClass which wants to inherit from MyPackageClass, but because parent class is package private, no C# code is generated for it.
obj/Debug/generated/src/Com.Xamarin.MyPublicClass.cs(9,59,9,73): error CS0234: The type or namespace name 'MyPackageClass' does not exist in the namespace 'Com.Xamarin' (are you missing an assembly reference?)
This reproduces with Visual Studio for Mac Community 2017 and also latest generator.exe code compiled from source. Attached is a problematic Jar. Please take a look. Just create an Android binding library project, add the attached jar, and build. libxamarinbug.jar.zip
We have two classes, public class MyPublicClass extends MyPackageClass and abstract class MyPackageClass (package private class). This generates code for MyPublicClass which wants to inherit from MyPackageClass, but because parent class is package private, no C# code is generated for it.
It generates c# code:
which results in this error:
This reproduces with Visual Studio for Mac Community 2017 and also latest generator.exe code compiled from source. Attached is a problematic Jar. Please take a look. Just create an Android binding library project, add the attached jar, and build.
libxamarinbug.jar.zip