Runtime version


T

Tony Johansson

Here is some text is a book that I'm reading.
"Installing and using multiple version is not only possible with assemblies
but also with the .NET runtime. The version1.0, 1.1 and 2.0 (and later
versions) of the .NEt runtime can be installed on the same operating system
side by side. Visual studio 2005 targets application running on .NET 2.0.
..NET 2.0 is a major release following 1.1. With this mjor release the
assembly file format changed, so it is not possible to run .NET 2.0
applications with .NET 1.1."

I mean if I for example write a very simpe Hello world application that just
write Hello world on the screen by using a console application and compile
this into an exe file by using .NET 1.1 and then I copy this MSIL exe file
to a computer that only have .NET 2.0 and try to run it. So according to
this text this will not work it will give some sort of error message
Is that correct understood ?
What kind of error message will occur ?

//Tony
 
Ad

Advertisements

A

Arne Vajhøj

Here is some text is a book that I'm reading.
"Installing and using multiple version is not only possible with assemblies
but also with the .NET runtime. The version1.0, 1.1 and 2.0 (and later
versions) of the .NEt runtime can be installed on the same operating system
side by side. Visual studio 2005 targets application running on .NET 2.0.
.NET 2.0 is a major release following 1.1. With this mjor release the
assembly file format changed, so it is not possible to run .NET 2.0
applications with .NET 1.1."

I mean if I for example write a very simpe Hello world application that just
write Hello world on the screen by using a console application and compile
this into an exe file by using .NET 1.1 and then I copy this MSIL exe file
to a computer that only have .NET 2.0 and try to run it. So according to
this text this will not work it will give some sort of error message
Is that correct understood ?
What kind of error message will occur ?

Build with 1.1 and run with 2.0 should work.

It is build with 2.0 and run with 1.1 that will fail.

Arne
 

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

Top