.NET Framework compability?

  • Thread starter Thread starter News
  • Start date Start date
N

News

Hi,

Got some general questions about .NET compatibility.

1. If I have a .NET Framework 1.1 compiled app can I assume that can run on
a machine that ONLY has .NET Framework 2.0 on it?

2. Can I also asume that a .NET Framework 2.0 app cannot run on a machine
with only .NET Framework 1.1 (A dumb question but I better make sure).

Thanks,

Ward.
 
If you have a app compiled with .Net Framework 1.1 you can run it on a
machine weither either 1.1 or 2.0 (no gurantee on 2.0 since there are
some breaking changes in 2.0). In short yes it will run on a machine
with ONLY 2.0.

If you have an app compiled with .net 2.0, will only run on 2.0.

- NuTcAsE
 
INLINE



News said:
Hi,

Got some general questions about .NET compatibility.

1. If I have a .NET Framework 1.1 compiled app can I assume that can run on
a machine that ONLY has .NET Framework 2.0 on it?

There are few breaking changes (in areas you probably have not poked), so
you should be fine.
2. Can I also asume that a .NET Framework 2.0 app cannot run on a machine
with only .NET Framework 1.1 (A dumb question but I better make sure).

As long as you only use 1.1 compatible features, you can build MSBuild (or
batch) scripts to compile for 1.1, but compiled in 2.0, it will NOT run in
1.1.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top