?
Solved

C# executables

Posted on 2003-02-27
8
Medium Priority
?
192 Views
Last Modified: 2010-04-15
I have created a C# project.  Even if its packaged up into an exe file the file still won't run on a system without the .net framework installed.  Is there a way to include the required dll's in the exe file that you wont need to install the .net framework on the computer to run it?
0
Comment
Question by:spikewolf
  • 3
  • 2
6 Comments
 

Expert Comment

by:ACGT
ID: 8036057
You can't skip the usage of the framework. Why does it disturb you? Where is your problem?

Sabine
0
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 152 total points
ID: 8036111
The .NET Framework MUST be installed on the target PC, for ANY .NET program to execute.  You can either include the Framework with your program's manifest, or it can be separately downloaded, for FREE, from Microsoft, and installed.  it is a ONE TIME installation, and will be automatically included with all future service packs and upgrades of all relevant Microsoft products and operating systems.

AW
0
 
LVL 2

Assisted Solution

by:wiseguy_2112
wiseguy_2112 earned 148 total points
ID: 8036844
One of the major points of .NET is to eliminate the DLL hell you are wanting to continue propagating.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 8038743
wiseguy 2112:

not so, since the .NET Framework is a one-time only load, and .NET manifests are completely self-describing, hence no registration.  In fact, two versions of the same .NET application can co-exist on the same machine with no interaction whatsoever. DLL-Hell IS A THING OF THE PAST.
0
 
LVL 2

Expert Comment

by:wiseguy_2112
ID: 8039804
I know.  That's what I was talking about.  Notice I said .net eliminates DLL hell.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 8043865
to wiseguy 2112:

sorry, thought your other comment was directed at me, for my comment that the Framework was absolutely required.  Guess you were commenting to the original questioners desire to simply load the required DLLs.


AW
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

609 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