Hi all,
I have a solution with multiple library projects consisting Android resources (strings, ids, drawable, and etc). The solution could be built successfully in MonoDroid v4.4.55 but NOT in Xamarin.Android v4.6.0.
Basically, the solution structure is as below:
It consists of 1 Application project and 5 library projects with Android resources. Let's denote them as App, Lib1, Lib2, Lib3, Lib4, Lib5
The references are as below:
App -> Lib1 -> Lib2 -> Lib1 -> Lib3 -> Lib1 -> Lib4 -> Lib1, Lib2 -> Lib5 -> Lib1, Lib3
Problems: - Build error with CS0117 code.
Attempts and Observations:
Same Xamarin Studio v4.0.3 (build 13) is used. Apparently, it is not IDE problem.
Force regenerating of Resource.Designer.cs (by deleting the physical files) doesn't work.
Changing from 3 to 2 levels references may work for some projects.
Creating a new simple solution with above solution architecture (much lesser codes) works fine.
Renaming all resources to lower cases (found in another thread) doesn't work.
Similar Issue could have been reported at here which is still unresolved.
I am not sure whether the problem is caused by our architecture or the changes done in Xamarin.Android. I had tried 2 days to check on our big solution and still clueless.
Anyone knows the the changes between v4.4.55 and v4.6.0 related to Android Library Resources? Then, we can have a direction to check for the issue.
Thank you.