是否有一个免费的工具,能够从CLI组装修剪未使用code吗? [英] Is there a free tool capable of pruning unused code from a CLI assembly?

查看:184
本文介绍了是否有一个免费的工具,能够从CLI组装修剪未使用code吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个免费工具,能够从 CLI 组装修剪未使用code吗?

Is there a free tool capable of pruning unused code from a CLI assembly?

我知道有混淆器能够执行这种优化,但这些都要花钱。是否有一个免费的(甚至是开放源码)工具,删除未使用的code在已编译的程序集?

I know there are obfuscators that are capable of performing this optimization, but these all cost money. Is there a free (or even open source) tool that removes the unused code in an already compiled assembly?

推荐答案

有。这就是所谓的 Mono.Linker

什么<一href="http://stackoverflow.com/questions/668188/the-state-of-linkers-for-net-apps-aka-please-sir-may-i-have-a-linker-2009-e">I写3年有关Mono.Linker 前pretty的多少仍然有效。它运作良好,但它不是神奇的,可能是pretty的粗糙。加上它通常需要配置。

What I wrote three years about the Mono.Linker ago pretty much still stands. It works well, but it's not magical and could be pretty rough. Plus it usually requires configuration.

在另一方面,现在船在商业工具如 MonoTouch的单声道为Android 的,所以它绝对牢固,如果你不介意花一些时间整合了。

On the other hand, it now ships in commercial tools like MonoTouch or Mono for Android, so it's definitely solid, if you don't mind spending some time integrating it.

需要注意的是单声道的所有发行版本自带的链接器的编译版本,但我劝你还是自己编译。

Note that all released versions of Mono comes with a compiled version of the linker, but I advise you to compile it yourself.

这篇关于是否有一个免费的工具,能够从CLI组装修剪未使用code吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆