Hi
How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine. When I develope an App using VS.NET 2002 it uses framework 1.0. How does the app know it
Is this info stored in the assembly
REgards
Srini
Vadym Stetsyak - 27 Feb 2004 12:57 GMT
the info is stored in the manifest i.e all the external assemblies are
identified by the version.
It means of your app was build with Asmb.dll (v1.0.23.0) then after
application starts runtime will search for Asmb.dll and it will also verify
its version.
> Hi ,
> How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine.
When I develope an App using VS.NET 2002 it uses framework 1.0. How does the
app know it.
> Is this info stored in the assembly.
>
> REgards,
> Srini
Scott M. - 28 Feb 2004 20:23 GMT
Yes, it is stored in the assembly's manifest.
Assemblies made with VS.NET 2002 automatically point to the 1.0 Framework as
this was the only version available when it came out. Assemblies made with
VS.NET 2003 automatically point to the 1.1 version. There are utilities you
can use to point an assembly to whichever version you want.
> Hi ,
> How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine.
When I develope an App using VS.NET 2002 it uses framework 1.0. How does the
app know it.
> Is this info stored in the assembly.
>
> REgards,
> Srini