如何将.NET exe文件转换为本地的Win32 exe文件? [英] How to convert a .NET exe to native Win32 exe?

查看:418
本文介绍了如何将.NET exe文件转换为本地的Win32 exe文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能转换成一个EXE .NET到Win32 exe文件? (我没有代码)
的目的是运行使用Wine在Linux中的应用。我猜想.NET的exe不能在酒中运行,我不希望使用单声道。

How can I convert a .NET exe to Win32 exe? (I don't have the code) The purpose is to run the application in Linux using wine. I presume that .NET exe cannot be run in wine and I don't want to use mono.

推荐答案

根据什么版本.NET的是什么库它利用你可以尝试单下运行它没有编译IL到本地代码。

depending on what version of .NET it is and what libraries it makes use of you could try running it under Mono without compiling the IL down to native code.

大多数Linux发行版有它在他们自己的包管理系统提供

most Linux distributions have it available under their package management systems.

看:的 http://www.mono-project.com/Main_Page 了解更多详情。

另一种方法是使用NGEN做编译(的 http://blogs.msdn.com/clrcodegeneration/archive/2007/09/15/to-ngen-or-not-to-ngen.aspx )。但我不知道这将在WINE工作。

the alternative is to use NGen to do the compiling (http://blogs.msdn.com/clrcodegeneration/archive/2007/09/15/to-ngen-or-not-to-ngen.aspx). but i'm not sure that would work under WINE.

这篇关于如何将.NET exe文件转换为本地的Win32 exe文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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