I added the Play Services (Gingerbread) component to my project, because I want the SupportActionBar and Google Maps in my project. However when I try to build the project I get the following error:
error MSB4115: The "exists" function only accepts a scalar value, but its argument "@(_AdditionalAndroidResourceManifests)" evaluates to "C:\ENM\Main\src\prod\Mobile\SetupCompanion\Components\googleplayservicesgingerbread-13.0\lib\android\13\content\google-play-services/libproject/google-play-services_lib\AndroidManifest.xml;C:\ENM\Main\src\prod\Mobile\SetupCompanion\Components\googleplayservicesgingerbread-13.0\lib\android\18\content\support/v7/appcompat\AndroidManifest.xml" which is not a scalar value.
I've looked in the csproj file, and there are no nodes with the name or property
AdditionalAndroidResourceManifests, so it must be somewhere in the build process this is introduced to get the stuff from the two manifests in question to be merged with the resulting manifest. For some reason though it does not like it. One thing that strikes my eyes is that it mixes forward- and back-slashes, however it should not be a problem with the NTFS filesystem.
Any workarounds or solutions to this?
I am using VS2012 with Xamarin.Android 4.11.00217 (c789d807). Minimum target is set to API 10 and target is set to 19.