I have been running a successful CI script for while now. However I have hit an issue with xbuild and packaging the APK for android.
Our nightly release works perfectly as it uses the standard Release configuration as the $RELEASETYPE shown below
xbuild "$rootCom.Droid.csproj" /p:Configuration="$RELEASETYPE" /t:PackageForAndroid;
The issues is that we have a number of other release targets/configurations for example Release_QA, this causes the packaging call to fail with numerous errors.
One of which looks like this
/Library/Frameworks/Mono.framework/Versions/3.6.0/lib/mono/4.5/Microsoft.Common.targets: error : 'OutputPath' property is not set for this project. Usually this is caused by invalid Configuration/Platform combination. Original values: Configuration: Release_QA Platform: AnyCPU.
Is this a limitation of xbuild or I'm missing something else?