开发者

Make pure native Exe for C#/VB.net Application [No need .net framework to run Exe]

开发者 https://www.devze.com 2023-01-01 17:29 出处:网络
How to make pure native Exe for C#/开发者_StackOverflow中文版VB.net Application? [After that No need .net framework to run that Exe]Short answer: you can\'t.

How to make pure native Exe for C#/开发者_StackOverflow中文版VB.net Application? [After that No need .net framework to run that Exe]


Short answer: you can't.

Longer answer: there are programs which wrap the framework up, such as VMware ThinApp (previously known as Thinstall) - but they're still effectively using the framework, just in a different deployment form.

Even longer answer: Mono has an ahead-of-time compiler and bundler which allows it to create native apps (e.g. for the iPhone) - but I don't know what the state of play is with using that for Windows, and the normal caveats of compatibility between .NET and Mono apply.

Anything like this is likely to have significant implications if your application uses reflection, loads plug-ins etc. Personally I'd advise against it unless you've got a really good reason for not just installing the normal framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消