473,480 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# to binary question....

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
Nov 16 '05 #1
3 991
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,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Makaveli" <ma************@hotmail.com> wrote in message
news:3c**************************@posting.google.c om...
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

Nov 16 '05 #2
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.

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
"Makaveli" <ma************@hotmail.com> schrieb im Newsbeitrag
news:3c**************************@posting.google.c om...
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

Nov 16 '05 #3
Makaveli <ma************@hotmail.com> wrote:
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/f...ework.required

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3380
by: Jerry Khoo | last post by:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am > cs students and are now facing difficult problems in understanding > what a binary tree is, how it works, and the algorithm...
1
383
by: Jerry Khoo | last post by:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am > cs students and are now facing difficult problems in understanding > what a binary tree is, how it works, and the algorithm...
4
2382
by: Leslaw Bieniasz | last post by:
Cracow, 20.09.2004 Hello, I need to implement a library containing a hierarchy of classes together with some binary operations on objects. To fix attention, let me assume that it is a...
5
2173
by: nickisme | last post by:
Hi - sorry for the possibly stupid question, but I'm still a wee starter on c++... Just wondering if there's a quick way to convert data into binary strings... To explain, I'm trying to convert...
15
2365
by: miki | last post by:
hello, I was asked this question during a job interview, and didn't know the answer. could someone please help me with that? the question was: "Which files are more suitable for working in C,...
0
7049
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7052
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6981
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.