From 97e5df0d32933c0418dec43249162638401d21ec Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Wed, 6 Jul 2016 17:04:44 +0900 Subject: [PATCH] Build both both debug and release libmono-android regardless of config. Whether you build xamarin-android in debug mode or release mode should not matter when user wants to build app either in debug or release mode. Current build system builds only debug mono-android for Debug configuration and release mono-android for Release configuration, which only makes it useless and annoying to diagnose the issues that depends on app build configuration. Build both libmono-android regardless of xamarin-android builder's configuration and make it work. --- src/monodroid/monodroid.targets | 35 +++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/src/monodroid/monodroid.targets b/src/monodroid/monodroid.targets index caabe4bb212..9e9b04e8cb4 100644 --- a/src/monodroid/monodroid.targets +++ b/src/monodroid/monodroid.targets @@ -12,7 +12,7 @@ + Outputs="@(AndroidSupportedTargetJitAbi->'$(OutputPath)\%(Identity)\libmono-android.debug.so');@(AndroidSupportedTargetJitAbi->'$(OutputPath)\%(Identity)\libmono-android.release.so')"> <_AppAbi>@(AndroidSupportedTargetJitAbi->'%(Identity)', ' ') @@ -22,22 +22,41 @@ Overwrite="True" /> + + + + + - - + + + +