I am trying to setup a simple project that swaps out the AndroidManifest.xml file based on the active configuration (Debug, Ad-Hoc, Release). I've seen this question posted a few times, but I haven't found a solution that seems to work.
According to the documentation, you can use the AndroidManifest xml element in the csproj file to determine which file to merge into the final file; however, I can't seem to get it to work conditionally (it always uses the default element).
Does the AndroidManifest attribute work conditionally? If so, could someone please post a simple snippet that actually works? I am using > Xamarin.Android 6 so it's supported.
Thank you.