Link to home
Start Free TrialLog in
Avatar of somasekharchowdary
somasekharchowdary

asked on

run c# application without .net framework installed

I am developing a C# application. Is there any way to run that application without .net framework installed on client m/c if I ship all the req dll's in the exe
ASKER CERTIFIED SOLUTION
Avatar of ALaRiva
ALaRiva
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
... adding...

If you include the .Net Framework with the install, obviously it would work, but the .Net Framework is required to execute a .Net Application.
Avatar of Guy Hengel [angelIII / a3]
I confirm, the framework is required.
Hello, It is not possible to run the C# application without installing the .net framework into client machine. Because it is pre-requisite of any .net application. You should installed only framework into client machine.
Why don't u want .Net framework installed? Nowadays framework gets pushed as part of Windows update. So why?
If you're willing to "embed" the required parts of the .Net framework into your application (making it MUCH bigger), and you're willing to fork out lots of $$$ money $$$, then technically it is possible to make your .Net application a "standalone" executable.

See ThinApp for one example:
http://www.vmware.com/products/thinapp/

This would produce an application that does not require an installation and all necessary libraries/files are embedded within itself.
Hello:
Can I run a program without a computer? Can i play baseball without a bate? Can I get merry without a girlfriend? :-p
Isn't it technically possible with the likes of Mono?  Or does that also install the framework in the background.

I have had a similar issue whereby one component we needed to roll out required 3.5, which was fine for XP but for Windows 2000 machines we had to eventually leave it as we couldn't get the framework installed in time.

But again to reiterate, no without the framework it would not be a simple, easy or (as Idle Mind has stated) cheap task.  
You're answer is back here:
https://www.experts-exchange.com/questions/26831753/run-c-application-without-net-framework-installed.html#34927810

...you didn't specify it had to be FREE.  As far as I know, no free solution to this problem exists.
The more realistic answer was given here - https://www.experts-exchange.com/questions/26831753/run-c-application-without-net-framework-installed.html#34927434

Self-Plug, I know, but it was pretty straightforward from the jump.

These requests for closing are just ridiculous from the premium service members. Always trying to make up excuses or flat out lie just to get the points refunded so they can move on to the next question without having to buy more.

JMO.

- Anthony