Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 模糊设置程序包内容_.net_Visual Studio 2008_Installation_Obfuscation_Dotfuscator - Fatal编程技术网

.net 模糊设置程序包内容

.net 模糊设置程序包内容,.net,visual-studio-2008,installation,obfuscation,dotfuscator,.net,Visual Studio 2008,Installation,Obfuscation,Dotfuscator,我有一个多项目的VisualStudio2008解决方案。在使用Dotfuscator将一些项目输出构建到安装文件之前,我想对它们进行模糊处理。 因此,我希望能够: 能够选择要混淆的内容 创建包含已混淆代码的安装程序包 验证模糊处理是否成功 最好的方法是什么? (我也愿意使用其他工具,Dotfuscator不是必须的。)如果您使用的是Dotfuscator的任一商业版本(Dotfuscator Suite或Dotfuscator MDE),这是非常容易实现的。Dotfuscator提供了一个Vi

我有一个多项目的VisualStudio2008解决方案。在使用Dotfuscator将一些项目输出构建到安装文件之前,我想对它们进行模糊处理。 因此,我希望能够:

  • 能够选择要混淆的内容
  • 创建包含已混淆代码的安装程序包
  • 验证模糊处理是否成功
  • 最好的方法是什么?

    (我也愿意使用其他工具,Dotfuscator不是必须的。)

    如果您使用的是Dotfuscator的任一商业版本(Dotfuscator Suite或Dotfuscator MDE),这是非常容易实现的。Dotfuscator提供了一个Visual Studio项目,该项目可以使用其他项目的输出作为其输入。Dotfuscator项目还将其所有输出程序集公开给其他Visual Studio项目(包括各种安装项目类型),以便它们可以直接使用模糊化的程序集并将其构建到安装程序中。有关选择性地将模糊程序集和依赖项包括到安装项目中的更多信息,请参阅知识库文章

    您可以选择要混淆的程序集(以及对每个程序集应用的混淆程度)通过多种方式,包括使用System.Reflection.ObfuscateAssemblyAttribute或System.Reflection.ObfuscationAttribute装饰程序集或特定代码,和/或使用Dotfuscator用户界面中的各种设置,通过一系列规则(包括正则表达式)和/或在GUI中选择单个项


    默认情况下,Dotfuscator向其处理的每个程序集添加一个属性(DotfuscatorAttribute),您可以在生成或测试安装后使用脚本检查该属性,以确保该属性存在。有关此属性的一些信息,请参阅。

    如果您使用的是Dotfuscator的任一商业版本(Dotfuscator Suite或Dotfuscator MDE),则很容易做到这一点。Dotfuscator提供了一个Visual Studio项目,该项目可以使用其他项目的输出作为其输入。Dotfuscator项目还将其所有输出程序集公开给其他Visual Studio项目(包括各种安装项目类型),以便它们可以直接使用模糊化的程序集并将其构建到安装程序中。有关选择性地将模糊程序集和依赖项包括到安装项目中的更多信息,请参阅知识库文章

    您可以选择要混淆的程序集(以及对每个程序集应用的混淆程度)通过多种方式,包括使用System.Reflection.ObfuscateAssemblyAttribute或System.Reflection.ObfuscationAttribute装饰程序集或特定代码,和/或使用Dotfuscator用户界面中的各种设置,通过一系列规则(包括正则表达式)和/或在GUI中选择单个项


    默认情况下,Dotfuscator向其处理的每个程序集添加一个属性(DotfuscatorAttribute),您可以在生成或测试安装后使用脚本检查该属性,以确保该属性存在。有关此属性的一些信息,请参阅。

    选择了最佳答案,但仍然不够。选择了最佳答案,但仍然不够。