when we create an application in VC#, talking about .net 3.5 in particular, the are comipled to CLR, what i want is that they should be compiled to EXE executable code that doesn't require .NET Framework Environment for them to run. Is it possible
I guess you're asking how to statically link the parts of the framework your application needs. Please see this link from Jon Skeet for info on how to do that: http://www.yoda.arachsys.com/csharp/faq/#framework.required
There are 3rd party products that do this. I know of no free ones.
Even if you get a third party product, I think it just packages the .NET runtime in there somehow. I don't know how else it would run.
Why don't you just create an installer that has the .NET framework as a requirement? It should check for it and install it if the user doesn't have it already.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With