I've just updated Xamarin for Visual Studio (Xamarin 188.8.131.520 and Xamarin.Android 184.108.40.206 according to About dialog), and my project no longer builds.
I get the message: Invalid command line switch for "aapt.exe". VersionCode is outside 0, 65535 interval
Indeed, my version code is 220622, but that was always okay and all the documentation I can find online say that version code is a 32-bit integer and has a maximum of something like 2000000. There should be no problem with this value, but suddenly it's not okay any more. Obviously decreasing the value isn't an option, because then Android will refuse to see newer releases an an upgrade over existing installed versions.
"aapt.exe" in this case is "SDK\build-tools\23.0.0\aapt.exe" if that helps at all.
Can anybody explain what's happening here, and help me resolve it? I'll just set the version to 1 for now so I can debug, but I need to resolve this before I can publish a new release...