Moayad Mardini
Moayad Mardini

Reputation: 7341

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

What tools do you know to compile .NET projects to native binaries that run without .NET Framework, so far I've found :

Xenocode Postbuild for .NET, which costs $1599.

Salamander .NET Linker, which costs $1249.

Mono Ahead-of-Time compilation (AOT), free. Thanks to JaredPar and Reed Copsey

Native Image Generator (Ngen.exe), free, doesn't do what I'm talking about, it does pre-JIT compiling, the resulting executable-file DOES need .NET framework to work.

Do you know any other products to add to the list?

Upvotes: 4

Views: 2674

Answers (4)

Shannon Cook
Shannon Cook

Reputation: 737

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

Upvotes: 0

Sam Harwell
Sam Harwell

Reputation: 99859

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

Upvotes: 1

Reed Copsey
Reed Copsey

Reputation: 564323

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

Upvotes: 3

JaredPar
JaredPar

Reputation: 754515

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

Upvotes: 1

Related Questions