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.
运行时,我可以在我的 Visual Studio 解决方案中混淆 .dll。
问题是我不知道在将应用程序发布到 .exe 时如何做到这一点。因为使用去混淆器仍然可以看到已发布的 exe 中的 dll 的源代码。
有人可以帮帮我吗?提前致谢。
我刚刚找到了解决方案。通过安装 obfuscar.globaltool (Img. 01)。 (图 1)
并将以下代码添加到我的 .csproj 文件(Img. 02) (Img. 02)
这允许我在发布时更改 dll 文件。
感谢大家帮我解决这个问题。对此,我真的非常感激!