Novice C#.NET question

  • Thread starter Thread starter local
  • Start date Start date
L

local

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?
 
Greg said:
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.
 
Many people already have it .. you can download the redistributable directly
from the MS web site .. search on ".NET redistributable"

Cheers,

Greg Young
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top