By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,769 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,769 IT Pros & Developers. It's quick & easy.

Novice C#.NET question

P: n/a
Being new to C#.NET I wondered if it were possible to compile a program
to run on a machine which does not have the .NET framework installed?
May 12 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
No.

There are some tools which make it possible to run a .NET app without the
..NET framework installed http://www.thinstall.com/solutions/net_virtual.php

Generally I recommend pople to install the framework as part of their MSI
install ...

Cheers,

Greg Young
MVP - C#
"local" <me@nospam.com> wrote in message
news:KG*******************@bignews3.bellsouth.net. ..
Being new to C#.NET I wondered if it were possible to compile a program to
run on a machine which does not have the .NET framework installed?

May 12 '06 #2

P: n/a
Greg Young wrote:
No.

There are some tools which make it possible to run a .NET app without the
.NET framework installed http://www.thinstall.com/solutions/net_virtual.php

Generally I recommend pople to install the framework as part of their MSI
install ...

Cheers,

Greg Young
MVP - C#


How much does the Net Framework add to the install (in terms of size)?
Looking at the thinstall web site I see potential problems in having to
install the framework. Having to do so seems cumbersome.
May 12 '06 #3

P: n/a
Many people already have it .. you can download the redistributable directly
from the MS web site .. search on ".NET redistributable"

Cheers,

Greg Young
"local" <me@nospam.com> wrote in message news:44**************@nospam.com...
Greg Young wrote:
No.

There are some tools which make it possible to run a .NET app without the
.NET framework installed
http://www.thinstall.com/solutions/net_virtual.php

Generally I recommend pople to install the framework as part of their MSI
install ...

Cheers,

Greg Young
MVP - C#


How much does the Net Framework add to the install (in terms of size)?
Looking at the thinstall web site I see potential problems in having to
install the framework. Having to do so seems cumbersome.

May 12 '06 #4

P: n/a
About 20 - 30 mb, I believe.

There's really no problems to installing the framework during a regular
install. The issues I'm seeing on the Thinstall site really are
non-issues. For example:

1. Other applications require an earlier version of .NET
- No problem. .NET apps can live side-by-side, and if the previous
version isn't already available (likely it would be through Windows
Update), it should install without messing with the newer version. (I'm
not 100% on this, but someone'll correct me if I'm wrong)

2. Locked down desktops can not be upgraded immediately
- Depending on the level of lockdown, a user wouldn't be able to
install the app in the first place. In this kind of environment, an
admin could push down the entire installation very easily.

3. Computers may need to have different versions of .NET installed
concurrently.
- Not a problem. My desktop has .NET versions 1.0, 1.1, and 2.0
installed. I can run apps under all those versions with no problems
whatsoever.

Remember, they're just trying to sell a product. While it might be
useful and solid program, the excuses they give really aren't that big
of a deal considering it's a one-time install.

Clint

May 12 '06 #5

P: n/a
Hello local,

See these tools
http://www.remotesoft.com/linker/index.html
http://www.xenocode.com/

l> Being new to C#.NET I wondered if it were possible to compile a
l> program to run on a machine which does not have the .NET framework
l> installed?
l>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
May 12 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.