When we are trying to build a xamarin forms project in release mode, we are getting the error:
C:\\Program Files (x86)\\MSBuild\\Xamarin\\Android\\Xamarin.An
In my case problem occured becasue of adding Xamarin.ios.dll to Portable Project references. I have removed that reference and it works now