Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 Net Reactor 加密我的项目时,它会创建 xxxx_secure 文件夹,但我希望直接重写原始文件,怎么办?
您必须指定目标文件并使其与输入文件相同。
使用命令行它看起来像这样:
dotnet_reactor.exe -file "xyz.dll" -targetfile "xyz.dll"
要覆盖原始文件,您需要使用 <AssemblyLocation>\<AssemblyFileName> 或“目标文件”选项的完整路径。
但是,建议使用 <AssemblyLocation>\<AssemblyFileName>,因为如果您移动文件,它不会破坏路径。