- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我有一个使用 .Net Framework 4 的 C# 2010 WinForms 应用程序。
我正在使用 Eazfuscator.NET混淆此应用程序。如果我手动混淆可执行文件,一切正常。
当我尝试通过将项目拖到绿色部分来使程序在每次构建时混淆自身时,一切正常,这是输出:
Protecting project 'Roster Manager.csproj'... done
Protected project will be obfuscated automatically during the build in Release configuration
Please restart Visual Studio to complete the installation of Eazfuscator.NET
之后,我关闭 VS,重新启动它,清理解决方案,重建它并运行它。该程序可以运行,但它没有被混淆,使用Reflector 7 对其进行反编译证明了这一点。 .
我正在按照程序的要求在 Release 中构建它。
在网上搜索没有帮助,所以如果有人以前遇到过这个问题,也许可以解决这个问题。
最佳答案
Eazfuscator 将这一行添加到您项目的 PostBuildEvent(为便于阅读而换行,但它是一行)。 (右键单击项目 -> 属性 -> 构建事件。)
if /I "$(ConfigurationName)" == "Release" Eazfuscator.NET.exe "$(TargetPath)"
--msbuild-project-path "$(ProjectPath)" --msbuild-project-configuration "$(ConfigurationName)"
--msbuild-project-platform "$(PlatformName)" --msbuild-solution-path
"$(SolutionPath)" -n --newline-flush -v 3.2
检查它是否存在以及您的发布配置是否真的称为“发布”。
关于c# - EAZfuscator 无法自动工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10863663/
我有一个使用 .Net Framework 4 的 C# 2010 WinForms 应用程序。 我正在使用 Eazfuscator.NET混淆此应用程序。如果我手动混淆可执行文件,一切正常。 当我尝
我在我的项目中使用 Eazfuscator 有一段时间了,一切正常,直到我创建了一个名为“Release-Internal”的发布构建配置副本。我还更新了构建后事件并将脚本更改为“if/I "$(Co
我正在使用 Eazfuscator 3.3(免费版),我可以混淆我的所有项目除了一个(在特定解决方案中)。 这是我遇到的错误: Error 16 Error occurred during proce
我想用 Eazfuscator.NET 混淆我的应用程序但我也想用 ClickOnce 发布它(我使用从 CD 安装选项)。但是 Eazfuscator 只让我混淆程序集,我不知道在我的项目发布时混淆
我正在尝试使用 eazfuscator.net 混淆 .net 项目。问题是,当我使用 .NET Reflector 反编译它时,您可以看到大部分代码。所有私有(private)成员都被混淆了,但是公
我正在尝试使用 Eazfuscator.Net 3.3 混淆我的 xamarin dll,但我收到一条错误消息,提示“无法找到工具 ildsam.exe”。 我该如何解决这个问题? 我选择了 3.3
在我的代码中,我使用了许多小型枚举: enum UserRequest : byte { Burp=1, Sneeze=2, Fart=3 } 我经常需要在将整数输入转换为该枚举之前验证它。 bool
我使用 Eazfuscator 来“保护”我的 VS 项目——这意味着 Eazfuscator 向我的项目添加了一个生成后事件,如下所示: if /I "$(ConfigurationName)" =
Eazfuscator.NET 在 3.3 版之前是免费的,我一直在阅读的所有地方都说 3.3 不包含 .NET 4.5 支持(支持在 v3.4 中发布),但我可以混淆我针对 .NET 4.5 构建的
我是一名优秀的程序员,十分优秀!