Xamarin Android Xamarin Studio, .NET Reactor, MSBuild. csproj:
<Target Name="AfterCompile">
<Exec Command=""C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.exe" -file "$(ProjectDir)$(IntermediateOutputPath)$(TargetFileName)" -targetfile "$(ProjectDir)$(IntermediateOutputPath)$(TargetFileName)" -suppressildasm 1 -obfuscation 1 -stringencryption 1 -antitamp 1 -control_flow_obfuscation 1 -flow_level 9 -resourceencryption 1 -mono 1 -exception_handling 1" Condition="'$(ConfigurationName)' == 'Release'" />
</Target>
</Project>
, Xamarin Visual Studio 2015, . " " MSB4018: "LinkAssemblies" ".
**
LinkAssemblies, PostBuild true "PostBuildEvent", Ajit .
DLL apk. , .apk( .zip .rar) DLL . .
bin/Release obj/Release, DLL . - DLL apk DLL.
, PostBuildEvent apk?
:
PostBuild true:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
...
<PostBuildEventUseInBuild>true</PostBuildEventUseInBuild>
</PropertyGroup>
"PostBuildEvent" "AfterCompile"
<Target Name="PostBuildEvent">
<Exec Command=""C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.exe" -file "$(ProjectDir)$(IntermediateOutputPath)$(TargetFileName)" -targetfile "$(ProjectDir)$(IntermediateOutputPath)$(TargetFileName)" -suppressildasm 1 -obfuscation 1 -stringencryption 1 -antitamp 1 -control_flow_obfuscation 1 -flow_level 9 -resourceencryption 1 -mono 1 -exception_handling 1" Condition="'$(ConfigurationName)' == 'Release'" />
</Target>
</Project>
**
Android VS 2015, , ( , ..). "LinkAssemblies" , , , /.
GitHub, , , . :
https://github.com/nbcruz/TestObfuscate/blob/master/TestObfuscate.zip
obj/Debug, 78 , zip 25 GitHub.
.NET Reactor bin\Release \. DLL, bin\Release\TestObfuscate_Secure. obfuscate.bat bin\Release \, DLL bin\Release\TestObfuscate_Secure bin\Release \. - LinkAssemblies.