Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying applications without .NET? 1

Status
Not open for further replies.

johnaregan

Programmer
Mar 13, 2001
87
Hi
Do you need to have the .NET framework installed on the PC that you are deploying to?
I know that apps are compiled to byte code, but it seems silly if you also need to install .NET on all machines that you may be deploying to; if you compiled a program in C (not through .NET) then you dont need anything but the exe file.

Thanks in advance
 
Sorry, if you have a .NET app, the system running must have the .NET framework installed. It goes with the territory.
 
The previous poster may be correct ... but if I am not mistaken, the designers of .NET take care of this problem by providing compiler directives that cause needed portions of .NET to be embedded into the generated executable. This allows programs developed for .NET to be executed on machines that do not have .NET installed.

Think of it as how MS Word allows you to embed "unusual" fonts into a document so that the document will appear correctly when opened on a machine that does not have that particular font installed.

I am relatively new to the whole .NET and C# environment (less than 1 month) but have been reading everything that I can get my hands on (one of the reasons that I'm in this forum to begin with) and think that I am telling you the truth. If I am not ... I'm sure that there are plenty of people out there who will set me straight.

Good Luck!
 
The previous poster may be correct ... but if I am not mistaken, the designers of .NET take care of this problem by providing compiler directives that cause needed portions of .NET to be embedded into the generated executable. This allows programs developed for .NET to be executed on machines that do not have .NET installed.

Nope, unless you have the linker mentioned above (new to me), .NET executables will not run without the .NET framework installed.
 
Sorry, no "hidden" compiler directives to embed the framework in your assembly. Until the linker became available, the only answer would be to distribute the framework.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top