Re: How does an .NET know which version of framework to use

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Scott M. (s-mar_at_BADSPAMsnet.net)
Date: 02/28/04


Date: Sat, 28 Feb 2004 15:23:47 -0500

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.

"srini" <rsrinivasanhome@hotmail.com> wrote in message
news:903C6652-1715-4AD5-BF68-875E6E5164A2@microsoft.com...
> 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



Relevant Pages

  • XML Manifests and Code Signing and Vista... Oh, My!
    ... assemblies", etc, etc, and when I follow those ... Added to the complication is that my app is ... reasons for why the manifest is needed don't seem ... Scope, Spectrum, Spectrogram, Sound Level Meter ...
    (comp.lang.asm.x86)
  • Re: IE Hosts Windows Control
    ... statement in the "What's new in the .NET Framework 1.1" ... Internet-based Web page or Windows Forms assemblies ... could get my control to execute on a framework v1 sp1 ... >> assemblyName, String ...
    (microsoft.public.dotnet.security)
  • Re: Goodbye and Best Wishes
    ... an N+1 capable framework, you can't even display a nice dialog box to ... > "When you choose to take advantage of features available in a newer ... with some assemblies coming from version n and some ... of an assembly compiled with an N+1 compiler to use an N framework, ...
    (borland.public.delphi.non-technical)
  • Re: God I Love Delphi7
    ... Windows Forms are extremely easy to use. ... Where do you put those assemblies on ... application config files shoule be placed in your app directory. ... know what version of an assembly to use and what framework it needs. ...
    (borland.public.delphi.non-technical)
  • Re: Cant use VS2005 assembly on VS2003 project
    ... > 2) If .NET runtime can only load one version of the framework, ... >> You can't use VS 2005 assemblies in earlier versions. ... CLR cannot load 2.0 assembly even if CLR itself is 2.0. ... >> Mikhail Arkhipov ...
    (microsoft.public.vsnet.general)