MonoTouch Linking Native References in Debug only
===

I have a MonoTouch project where I want to include a reference to some native ios libraries that are only used for testing & debugging. I do not  need these refereces to be compiled into the release build.

I've tried editing the .csproj file to have a Condition for the ItemGroup that links in the Native References, but they seem to be ignored.

     <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
    <NativeReference Include="some path">
      <IsCxx>false</IsCxx>
      <Kind>Static</Kind>
    </NativeReference>
   
  </ItemGroup>
</Project>

I suppose there could be some way using the Additional mtouch arguments option in the project Options window. I am unsure though.

Does anyone know how I can link a native reference for a specific build configuration only in MonoDevelop?