Is .Net programs able to be compiled into native code?
-
Is .Net programs (C#, VB.Net) able to be compiled into native code, then could run without .Net framework directly on OS like other normal executables? Thanx very much.
Not really, but yes. It is possible, but not recommended. There are a couple of products out there that can compile a .NET app down to native code, plus importing all the code that the assemblies reference, effectively building in parts of the .NET Framework. But, those products are VERY expensive. The problem with using them is security updates to the .NET Framework will not affect these native-compiled apps, effectively making them security holes in a customers systems. In order to patch these holes, your app would have to be recompiled and redistributed to the customers.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Is .Net programs (C#, VB.Net) able to be compiled into native code, then could run without .Net framework directly on OS like other normal executables? Thanx very much.
Nope, my views are .NET executables are have a special stubs in their exe which instructs OS that these exe are .NET exe and should be executed under .NET framework ....
Regards, Jaiprakash M Bankolli jaiprakash.bankolli@gmail.com http://jaiprakash.blog.com/
-
Not really, but yes. It is possible, but not recommended. There are a couple of products out there that can compile a .NET app down to native code, plus importing all the code that the assemblies reference, effectively building in parts of the .NET Framework. But, those products are VERY expensive. The problem with using them is security updates to the .NET Framework will not affect these native-compiled apps, effectively making them security holes in a customers systems. In order to patch these holes, your app would have to be recompiled and redistributed to the customers.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
There are a couple of products out there that can compile a .NET app down to native code
What products?
Try this.