.Net Framework 1.1 do not upgrade 1.0.

  • Thread starter Thread starter Sebastien Levesque
  • Start date Start date
S

Sebastien Levesque

Hi All,

When I install .Net Framework 1.1, It doesn't upgrade the
old version of .Net Framework 1.0 (1.0.3705).

I double-click on Add/Remove Programs and I saw both
products.

My question is: When a user will be working with a
software using .Net Framework, which one will be used?
Will it be always 1.1 or it can be 1.0...?

Thank you!
 
Sebastien,
Side by Side deployment of .NET Framework is a good thing for developers,
hard on disk space, but a good thing for deployment.

See the following article for details:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/sidexsidenet.asp

The short of it is: If both versions are available on a machine:
- A 1.0 app will use 1.0
- A 1.1 app will use 1.1

You can override this by using the app.config.

ASP.NET is normally upgraded to 1.1, however you can change the file
mappings for a web app, so it continues to use 1.0.

Hope this helps
Jay
 
I can use Add Reference option in VS to change the references to Version
1.1. But I can't change the link to mscorlib.dll. The application still
depends on the old version. Does anyone know how to fix it?

Thanks.

Jay
 
Thanks for the quick reply.

I understand this... I got one last question,

If I have 1.0 and 1.1 installed, How does an application knows which one
to use?

I mean, When I will be running an application, what tell it to use 1.1
OR 1.0?

Thank you!
 
Sebastien,
I believe I answered you in the previous message: The link I gave you
explains it better than I.

A program compiled with VS.NET 2002 is a 1.0 app and will run on 1.0.

A program compiled with VS.NET 2003 is a 1.1 app and will run on 1.1.

There are entries in the app.config (myproject.exe.config) that can override
the above. For example, enable a 1.1 app to run on 1.0.

Hope this helps
Jay
 
Back
Top