Xamarin.Android binding project issue after update to VS2022

AdamP 1 Reputation point
2022-05-12T12:38:38.657+00:00

Hi,

we have a Xamarin app with a Xamarin Binding project that references some aar and jar files. Everything works fine as long as we compile the Xamarin Binding project with VS 2019, which uses Xamarin.Android version 12.0.0. We can't build the same project with VS 2022, which uses a newer Xamarin.Android version 12.3.0. It seems to me that the C# generator or parser has changed and for some reason a nested Java class is no longer exported (not present in \obj\Debug\api.xml) and a static method that references this type is also missing. Does anyone have any tips on how to proceed? Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
{count} votes