hsu-net / obfuscar

MSBuild for Obfuscar with Obfuscar.GlobalTool.
MIT License
1 stars 1 forks source link

Doesn't work with NativeAOT #1

Open stevefan1999-personal opened 7 months ago

stevefan1999-personal commented 7 months ago

I want to test if NativeAOT can also generate obfuscated binary correctly for Obfuscar, but it seems like the build target did not use the right assembly for some reason, the old assembly was still used

stevefan1999-personal commented 7 months ago
  <Var name="OutPath" value="../../../../obj/Release/net8.0/win-x64/" />

Do this a little workaround

seayxu commented 5 months ago

You can try to add AssemblySearchNames