-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Hello!
My application uses net8 and is currently published with AOT, i would like to somehow implement BitMono obfuscation in the process of publishing the app. What im currently attempting is running it with just a few protection options enabled or one at a time for testing and i did managed to get it to compile and publish but the application end up not running anymore, doesnt matter what protection option i try, any of them end up in not being able to run the application after its published, if i enable the protections and just compile it works fine, but after the AOT publish it seems to be breaking the app.
Is there anything i could try to achieve this?
Thanks
(.csproj)
<Target Name="ObfuscateBeforeAOT" BeforeTargets="IlcCompile" Condition="'$(PublishAot)' == 'true'">
<Exec Command="BitMono.CLI -f $(IntermediateOutputPath)$(AssemblyName).dll -l $(OutputPath) -o $(IntermediateOutputPath)obfuscated" />
<Move SourceFiles="$(IntermediateOutputPath)obfuscated\$(AssemblyName).dll" DestinationFiles="$(IntermediateOutputPath)$(AssemblyName).dll" />
</Target>
Metadata
Metadata
Assignees
Labels
No labels