473,473 Members | 2,054 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compiling CLR to a .exe

I have some users who are superstitious of all things Microsoft. They don't
want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?

Any help is greatly appreciated.
Nov 17 '05 #1
9 1216
I do not know of any such tools and am skeptical as it if they exist...
Remember, when you run a .NET app you aren’t just using a system provided
library or two for the runtime, you are using an entire series of libraries
that provide not only the runtime, but many of the

Even if it was possible... your application would be huge... because it
would have to contain all of the .NET libraries needed to run your app.

It’d be far easier to throw the framework into the installer and not let
them know it is being installed. Not very honest true, but far easier than
trying to do what you propose I fear.

Brendan
"Greg Smith" wrote:
I have some users who are superstitious of all things Microsoft. They don't
want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?

Any help is greatly appreciated.

Nov 17 '05 #2
Greg,

There are some, I think, but I don't know how well they work. Needless
to say, it's definitely not the recommended approach.

I mean, if they are that superstitious of all things Microsoft, they
should be working on a *nix box, in which case, this is a moot point,
because you could just run Mono then, and that's not MS. If they are
running on a Windows box, then they really should accept that the framework
needs to be installed. I really can't think of a good reason why it
shouldn't be (and no, being suspicious does not qualify as a good reason).

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Greg Smith" <gj*@umn.edu> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...
I have some users who are superstitious of all things Microsoft. They
don't want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?

Any help is greatly appreciated.

Nov 17 '05 #3
Such things do exist but they are not a good idea because embedding the
framework just pulls in all the framework items thay would have used anyway.
*if* MS were really doing evil things then it would all be embedded into the
application.

You exchange a 1 time download of 20 megabytes for the framework for N
instances of a 20 megabyte application. Not much sense in that really is
there?

People who have religious views regarding their operating system or a dread
of "all things Microsoft" aren't going to be particularly good customers
anyway.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Greg Smith" <gj*@umn.edu> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...
I have some users who are superstitious of all things Microsoft. They
don't want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?

Any help is greatly appreciated.

Nov 17 '05 #4
Greg Smith <gj*@umn.edu> wrote:
I have some users who are superstitious of all things Microsoft. They don't
want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?


See http://www.pobox.com/~skeet/csharp/f...ework.required

Personally I'd avoid such tools myself though. You're still running
just as much MS code, but you're *also* running it an environment it
almost certainly hasn't been tested in (tested by MS, that is). You're
also running 3rd party code as well.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nov 17 '05 #5
Hi Greg,

What about http://www.stryon.com/ and http://www.mainsoft.com/ ?

Succes,
Bart

Nov 17 '05 #6
Greg,

Stryon does not exist anymore ... an alternative
http://www.transoceanicgroup.com/for...=apptoggleHome

Succes,
Bart

Nov 17 '05 #7
Due to the dependency on the .Net framework, I don't think there is a
solution that translates a .Net assembly into an independent binary
executable.

You haven't provided enough specifics - what part of the .Net framework
or what version of the .Net framework you require - but have you
considered Mono - http://www.mono-project.com/Main_Page
Just a thought.

Jeff Clausius
SourceGear

"Greg Smith" <gj*@umn.edu> wrote in
news:Oj**************@TK2MSFTNGP12.phx.gbl:
I have some users who are superstitious of all things Microsoft. They
don't want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?

Any help is greatly appreciated.

Nov 17 '05 #8
Follow up - I guess there are tools which claim they can do this. I
retract my first paragraph.

Jeff
Jeff Clausius <je***@raegecruos.com> wrote in
news:Xn********************************@207.46.248 .16:
Due to the dependency on the .Net framework, I don't think there is a
solution that translates a .Net assembly into an independent binary
executable.

You haven't provided enough specifics - what part of the .Net framework
or what version of the .Net framework you require - but have you
considered Mono - http://www.mono-project.com/Main_Page
Just a thought.

Jeff Clausius
SourceGear

"Greg Smith" <gj*@umn.edu> wrote in
news:Oj**************@TK2MSFTNGP12.phx.gbl:
I have some users who are superstitious of all things Microsoft. They
don't want to install the framework on their PCs.

Are there any tools out there to compile C# to a stand-alone EXE?

Any help is greatly appreciated.


Nov 17 '05 #9
SP

<ba**********@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Greg,

Stryon does not exist anymore ... an alternative
http://www.transoceanicgroup.com/for...=apptoggleHome


The OP should tell his customer that they can avoid installing the .Net
framework because they will be using a product by Stryon and have them go
visit their website.

SP
Nov 17 '05 #10

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

Similar topics

0
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html ...
3
by: modemer | last post by:
Hello, I got weird compiling message similar like following when I compiled my simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3. CC -g -o myclass.o -c myclass.cpp CC -g -o main.o...
0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
2
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One...
1
by: Jim Heavey | last post by:
Hello, trying to round out my knowlege here about compiling. To date I have used VS.Net to do all my compiling "majically", but I want to understand how to do it on my own, should the need ever...
10
by: Christina N | last post by:
When compiling my ASP.Net application, VS puts the new DLL under the local cached directory 'VSWebCache' in stead of on the server. How can I make it save the DLL file on the server when compiling?...
2
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
0
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help compiling code dynamically it may involve some reflection so if any one is any good in that field or compiling code this would be a great time to show me what you know. by the way my...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.