C# to binary question....

  • Thread starter Thread starter Makaveli
  • Start date Start date
M

Makaveli

Hi,


I develop a program for work in C# and it works fine on my machine,
because, of course i have the .NET framework. I want others to be able
to run this too but without the trouble of having to download the
framework.

Is there a way I can compile this to binary with the .NET libraries
linked in some how and run it with the Framework???

Perhaps make a DLL out of it, if I cannot compile to binary???


Please help.

Thanks,

Mak
 
Hi,

That is not possible AFAIK, you need the framework installed to be able to
run a .net application

What you can do is distribute the framework with your application.

Cheers,
 
There are commercial programs that makes you able to statically link a .NET
framework into your app but this has some drawbacks: you do not benefit from
framework upgrades, you do not benefit from dynamic runtime JIT
optimisations, and there might be bugs and or some problems introduced in
your app when statically link a .NET framework.
 
Makaveli said:
I develop a program for work in C# and it works fine on my machine,
because, of course i have the .NET framework. I want others to be able
to run this too but without the trouble of having to download the
framework.

Is there a way I can compile this to binary with the .NET libraries
linked in some how and run it with the Framework???

Perhaps make a DLL out of it, if I cannot compile to binary???

See http://www.pobox.com/~skeet/csharp/faq/#framework.required
 
Back
Top