.NET for Android error XA1038

Example messages

The 'AndroidResourceDesignerClassModifier' MSBuild property has an invalid value of 'foo'.  A valid value is one of: 'public', 'internal'.

Solution

Edit your csproj directly and remove the referenced MSBuild property.

Test your project to ensure the new behavior is functionally equivalent.

If not, file an issue so a solution can be found before the deprecated flag is removed.