I have setup a new configuration called "AdHoc" for my UI project, created a new solution configuration based on it and mapped to the "Release" configuration for other projects in the same solution.
It works in Xamarin Studio but when I build the project with mdtool I got an error of "support files" not found i.e can't find
ProjectY\bin\Debug\ProjectY.dll (ProjectY is referenced by the UI project)
ProjectY is successfully build before with the Release configuration. It seems that mdtool completely ignore the configurations mapping and try to find the default configuration for projects referenced in the csproj to build (?)
Here's the calls to mdtool:
mdtool build '--project:ProjectY' '--configuration:Release' 'MyCompany.Mobile.Solution.iOS.sln' "mdtool build '--project:MyCompany.Mobile.Client.iOS' '--configuration:AdHoc' 'MyCompany.Mobile.Solution.iOS.sln'