I am new to Xamarin Android. I have created an App using Visual Studio 2015 Community Edition. I have set the Solution Configuration to Release.
For obfuscation I used .Net Reactor.
This is how I tried to obfuscate
1: Once I build the App, I will go to Bin\Release folder
2: Obfuscate the App.dll
3: Replace the original dll with obfuscated dll in Bin\Release, Obj\Release and Obj\Release\assemblies
4: Go to Tools->Android->Publish
However when I tried to publish the obfuscated dll will be replaced by original dll.
So what I am doing wrong ? Do I have to manually pack the apk file. If that is the case how can I do that?
It has come extremely easy to use .net reactor with xamarin today:
from reactor ide install extension for your visual studio appropriate version (menu Visual Studio)
in reactor ide create a project for your xamarin solution. You can use menu "Protection Themes->Xamarin" or play with you own settings. Do not forget to add additional files (your Forms shared project and others needed). save project, note its path.
in Visual Studio ide menu Tools->Reactor Automation set:
Click ok, that's it.
The build process would be MSBuild compiling, then reactor would apply its processing, then VS would pack/aot whatever was set for platform deployment/distribution.
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