views:

373

answers:

3

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?

+1  A: 

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

JaredPar
Added it to the list, thanks!
Moayad Mardini
+3  A: 

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

Reed Copsey
Thanks for mentioning Mono AOT.
Moayad Mardini
+2  A: 

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
280Z28
this doesn't answer the question. please stay on topic.
Geo
I tried Xenocode Postbuild just now (been meaning to anyway), on a 200kB application that uses a fraction of the .NET framework. 35MB executable! :(
Thorarin
@Geo: Of course it stays on topic. I said whatever answer is given, he needs to evaluate its limitations before going "yes, that's what I'm after." *No* solution given in this thread would be capable of offering exactly what he requests. Someone needs to point that out, and since you wouldn't, I did.
280Z28