Solved

run c# application without .net framework installed

Posted on 2011-02-18
12
996 Views
Last Modified: 2013-12-14
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
0
Comment
Question by:somasekharchowdary
12 Comments
 
LVL 10

Accepted Solution

by:
ALaRiva earned 500 total points
ID: 34927434
Unfortunately, No.
0
 
LVL 10

Expert Comment

by:ALaRiva
ID: 34927440
... 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.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 34927478
I confirm, the framework is required.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 11

Expert Comment

by:SAMIR BHOGAYTA
ID: 34927499
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.
0
 
LVL 20

Expert Comment

by:informaniac
ID: 34927784
Why don't u want .Net framework installed? Nowadays framework gets pushed as part of Windows update. So why?
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 34927810
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.
0
 
LVL 8

Expert Comment

by:cubaman_24
ID: 34941032
Hello:
Can I run a program without a computer? Can i play baseball without a bate? Can I get merry without a girlfriend? :-p
0
 
LVL 15

Expert Comment

by:angus_young_acdc
ID: 34953514
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.  
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 35113379
You're answer is back here:
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_26831753.html#34927810

...you didn't specify it had to be FREE.  As far as I know, no free solution to this problem exists.
0
 
LVL 10

Expert Comment

by:ALaRiva
ID: 35113533
The more realistic answer was given here - http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_26831753.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
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question