I need to make a customized Proguard configuration. However I cannot find out how to do that. When building a new configuration file is copied into the /obj/release/proguard folder. How can this configuration file be customized?
Proguard.cfg
into your ProjectProguard.cfg
> "Build Action" > "ProguardConfiguration"The above answer is 100% correct on how to add the file. To make sure you file gets picked up you can check the output logs, it will contain something like this:
ProguardConfigurationFiles:
{sdk.dir}tools\proguard\proguard-android.txt;
{intermediate.common.xamarin};
{intermediate.references};
{intermediate.application};
Proguard.cfg;
NOTE: Make sure that you set your MSBuild output verbosity to Detailed for this (Tools > Options > Build and Run)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With