谈到.NET可执行文件到本机的可执行文件 [英] Turning .NET executable into native executable

查看:254
本文介绍了谈到.NET可执行文件到本机的可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有在.NET开发的应用程序转换为一个本地可执行的方法(来源包括在内)?

Is there any approach to convert an application developed in .NET into a native executable (sources are included)?

安装整个框架(最多的.NET Framework 3.5 SP1),需要花费大量的时间 - 并不总是计算机从互联网更新。是否有可能调用NGEN以产生独立的可执行文件?

Installing the whole framework (up to .NET Framework 3.5 SP1) takes a lot of time - not always the computers are updated from the internet. Is it possible to call NGen in order to produce independent executables?

感谢

推荐答案

这是尚未公布,但Mono项目团队工作的一个的时间提前编译会做你所期待的。其目的是为单声道工作,对iPhone(如统一),但它应该适用于所有的平台。

It's not available yet, but the Mono project team are working on an Ahead of Time compiler that will do what you are looking for. The intention is for Mono to work on the iPhone (like Unity) but it should work for all platforms.

编辑:它支持单x86的,但我不知道他们是否已包括了包的依赖类还没有该功能(虽然从我听到的采访,它的计划)

It does support Mono x86, but I'm not sure if they have included the feature that packs in dependent classes yet (though from an interview I heard, it's planned)

编辑2:包括依赖是目前支持,感谢Dykam

Edit 2: Including dependencies is currently supported, thanks Dykam!

这篇关于谈到.NET可执行文件到本机的可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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