2

when I use Net Reactor encrypt my project ,it will create xxxx_secure folder, But i hope Direct rewrite original file,how to do ?

zenith
  • 51
  • 1
  • 7

2 Answers2

3

You have to specify the target file and make it the same as the input file.

Using the command line it looks like this:

dotnet_reactor.exe -file "xyz.dll" -targetfile "xyz.dll"
Alexander Egger
  • 5,132
  • 1
  • 28
  • 42
0

To overwrite the original file you need to use <AssemblyLocation>\<AssemblyFileName> or alternatively the full path for the "Target File" option.

However, it is recommended to use <AssemblyLocation>\<AssemblyFileName> as it doesn't break paths if you move the file.

Eziriz
  • 331
  • 2
  • 5