如何编译CIL code? [英] How to compile CIL code?

查看:112
本文介绍了如何编译CIL code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经写在 A code CIL 。比方说,一个名为 some_il_ code.il 文件保存它。我想要编译它来创建一个托管 exe文件组装。

I have a code written in CIL. Let's say, a file called some_il_code.il holds it. I want to compile it to create a managed exe assembly.

我如何做到这一点?

推荐答案

您可以使用的 ILASM工具。

ilasm /exe Your.il /deb=opt
peverify /md /il Your.exe

ILASM编译它, peverify 验证它。

这篇关于如何编译CIL code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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