What are the available tools to compile .NET projects to standalone native binaries?

走远了吗. 提交于 2019-12-05 13:43:30

It's limited, but Mono AOT ($0) does this, as well.

Add the Mono project to your list. They support compilation to native binaries.

Remember that whatever you do:

  • Will not run to the full potential of the .NET Framework's ability (some optimizations are never available when precompiled)
  • You will not get fixes if security patches are released
  • Your distributable will be larger (possibly, but not guaranteed to be smaller than shipping the .NET runtime client profile)
  • You will not have access to certain .NET features

While this is an question, it's an ongoing concern of a lot of people. In fact, MS seems to be doing something about it. It looks like we'll soon be able to generate native, statically linked apps using .NET languages and libraries.

http://blogs.msdn.com/b/dotnet/archive/2014/04/02/announcing-net-native-preview.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!