将 .net exe 转换为本机 win32 exe? [英] Converting .net exe to native win32 exe?

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

问题描述

我访问过这个但没有找到答案如何将 .NET exe 转换为本机 Win32 exe? 对我来说.我正在寻找将 .net exe 转换为 win32 exe 的程序.那可能吗 ?我已经从 Microsoft 运行 ngen.exe,但是当我编写应该转换程序集的命令时,它告诉我转换成功,但我没有找到转换后的 exe:这是命令:

I have visited this and found no answer How to convert a .NET exe to native Win32 exe? for me. I am searching for a program that converts .net exe to win32 exe. Is that possible ? I have run ngen.exe from Microsoft, but when I write the command that should convert the assembly, it tells that converting successed, but I don't find the converted exe: This is the command:

start ngen install C:\program.exe /debug

推荐答案

您需要一个更大的武器来从托管程序创建本机 win32 可执行文件.Ngen.exe 只是预编译 IL,运行程序仍需要 CLR 和原始程序集.

You need a much bigger weapon to create a native win32 executable from a managed program. Ngen.exe merely pre-compiles the IL, the CLR and the original assemblies are still needed to run the program.

您需要的那种工具在 .NET 的早期有点流行,当时程序员正在为在目标机器上安装 .NET 框架而烦恼.它们被称为.NET 链接器",Salamander 很受欢迎.不知道它是否跟上 .NET 版本,您肯定要先验证试用版.还要注意您将遭受的大量贴纸冲击.

The kind of tool you need was somewhat popular in the early days of .NET when programmers were fretting about getting the .NET framework installed on the target machine. They are known as ".NET linkers", Salamander was popular. No idea if it has kept up with .NET versions, you definitely want to verify the trial version first. Also beware of the considerable sticker-shock you'll suffer.

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

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