How to convert CLR to EXE

when we create an application in VC #, talking about .net 3.5, in particular, are combined in the CLR, I want them to be compiled into executable EXE code, which does not require the .NET Framework to run for them. Is it possible,

+5
source share
4 answers

I think you are asking how to statically link the parts of the framework that your application needs. Please see this link from Jon Skeet for information on how to do this: http://www.yoda.arachsys.com/csharp/faq/#framework.required

+5
source

There are third-party products that do this. I do not know free.

+1

Even if you get a third-party product, I think it just packs the .NET environment. I do not know how otherwise it will work.

Why don't you just create an installer with the .NET framework as a requirement? He must check it and install if the user does not have it.

+1
source

you can use mono time compiler

+1
source

All Articles